Test: /ext/standard/tests/general_functions/print_r_64bit.phpt - Version 7.2.0-dev    

There is 1 diff reported by users for this test.

Count Diff
17 (100%)
1159+
1160+ Fatal error: Invalid opcode 137/16/8. in %s/print_r_64bit.php on line 220
1159- object_class Object
1160- (
1161- [value] => 50
1162- [public_var1] => 10
1163- [private_var1:object_class:private] => 20
1164- [private_var2:object_class:private] => 21
1165- [protected_var1:protected] => string_1
1166- [protected_var2:protected] => string_2
1167- [public_var2] => 11
1168- [obj] => object_class Object
1169- (
1170- [value] => 50
1171- [public_var1] => 10
1172- [private_var1:object_class:private] => 20
1173- [private_var2:object_class:private] => 21
1174- [protected_var1:protected] => string_1
1175- [protected_var2:protected] => string_2
1176- [public_var2] => 11
1177- [obj] => object_class Object
1178- *RECURSION*
1179- )
1180-
1181- )
1182-
1183- *** Testing print_r() on resources ***
1184-
1185- -- Iteration 1 --
1186- Resource id #5
1187- Resource id #5
1188- Resource id #5
1189- -- Iteration 2 --
1190- Resource id #6
1191- Resource id #6
1192- Resource id #6
1193- *** Testing print_r() on different combinations of scalar
1194- and non-scalar variables ***
1195-
1196- -- Iteration 1 --
1197- Array
1198- (
1199- [0] => 123
1200- [1] => -1.2345
1201- [2] => a
1202- )
1203-
1204- Array
1205- (
1206- [0] => 123
1207- [1] => -1.2345
1208- [2] => a
1209- )
1210-
1211- Array
1212- (
1213- [0] => 123
1214- [1] => -1.2345
1215- [2] => a
1216- )
1217-
1218- -- Iteration 2 --
1219- Array
1220- (
1221- [0] => d
1222- [1] => Array
1223- (
1224- [0] => 1
1225- [1] => 3
1226- [2] => 5
1227- )
1228-
1229- [2] => 1
1230- [3] =>
1231- )
1232-
1233- Array
1234- (
1235- [0] => d
1236- [1] => Array
1237- (
1238- [0] => 1
1239- [1] => 3
1240- [2] => 5
1241- )
1242-
1243- [2] => 1
1244- [3] =>
1245- )
1246-
1247- Array
1248- (
1249- [0] => d
1250- [1] => Array
1251- (
1252- [0] => 1
1253- [1] => 3
1254- [2] => 5
1255- )
1256-
1257- [2] => 1
1258- [3] =>
1259- )
1260-
1261- -- Iteration 3 --
1262- Array
1263- (
1264- [0] => no_member_class Object
1265- (
1266- )
1267-
1268- [1] => Array
1269- (
1270- )
1271-
1272- [2] =>
1273- [3] => 0
1274- )
1275-
1276- Array
1277- (
1278- [0] => no_member_class Object
1279- (
1280- )
1281-
1282- [1] => Array
1283- (
1284- )
1285-
1286- [2] =>
1287- [3] => 0
1288- )
1289-
1290- Array
1291- (
1292- [0] => no_member_class Object
1293- (
1294- )
1295-
1296- [1] => Array
1297- (
1298- )
1299-
1300- [2] =>
1301- [3] => 0
1302- )
1303-
1304- -- Iteration 4 --
1305- Array
1306- (
1307- [0] => -0
1308- [1] => Where am I?
1309- [2] => Array
1310- (
1311- [0] => 7
1312- [1] => 8
1313- [2] => 9
1314- )
1315-
1316- [3] => 1
1317- [4] => A
1318- [5] => 987654321
1319- )
1320-
1321- Array
1322- (
1323- [0] => -0
1324- [1] => Where am I?
1325- [2] => Array
1326- (
1327- [0] => 7
1328- [1] => 8
1329- [2] => 9
1330- )
1331-
1332- [3] => 1
1333- [4] => A
1334- [5] => 987654321
1335- )
1336-
1337- Array
1338- (
1339- [0] => -0
1340- [1] => Where am I?
1341- [2] => Array
1342- (
1343- [0] => 7
1344- [1] => 8
1345- [2] => 9
1346- )
1347-
1348- [3] => 1
1349- [4] => A
1350- [5] => 987654321
1351- )
1352-
1353- -- Iteration 5 --
1354- Array
1355- (
1356- [0] =>
1357- [1] => 20000000000
1358- [2] => 79.1
1359- [3] => 4.599998
1360- )
1361-
1362- Array
1363- (
1364- [0] =>
1365- [1] => 20000000000
1366- [2] => 79.1
1367- [3] => 4.599998
1368- )
1369-
1370- Array
1371- (
1372- [0] =>
1373- [1] => 20000000000
1374- [2] => 79.1
1375- [3] => 4.599998
1376- )
1377-
1378- -- Iteration 6 --
1379- Array
1380- (
1381- [0] => array(1,2,3,4)1.0000002TRUE
1382- [1] =>
1383- [2] => 4611333
1384- [3] => /00\7
1385- )
1386-
1387- Array
1388- (
1389- [0] => array(1,2,3,4)1.0000002TRUE
1390- [1] =>
1391- [2] => 4611333
1392- [3] => /00\7
1393- )
1394-
1395- Array
1396- (
1397- [0] => array(1,2,3,4)1.0000002TRUE
1398- [1] =>
1399- [2] => 4611333
1400- [3] => /00\7
1401- )
1402-
1403- *** Testing print_r() on miscelleneous input arguments ***
1404-
1405- -- Iteration 1 --
1406-
1407-
1408-
1409- -- Iteration 2 --
1410-
1411-
1412-
1413- -- Iteration 3 --
1414-
1415-
1416-
1417- -- Iteration 4 --
1418-
1419-
1420-
1421- *** Testing print_r() on anonymous functions ***
1422- New anonymous function: [0x0]lambda_1
1423- 2 * 3 = 6[0x0]lambda_2
1424-
1425- *** Testing error conditions ***
1426-
1427- Warning: print_r() expects at least 1 parameter, 0 given in %s on line %d
1428- bool(false)
1429-
1430- Warning: print_r() expects at most 2 parameters, 3 given in %s on line %d
1431- bool(false)
1432-
1433- Notice: Undefined variable: value in %s on line %d
1434- string(0) ""
1435- Done