3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original = unserialize('O:8:"stdClass":1:{s:4:"1134";i:1;}'); $result = (array)$original; var_dump ($result); //Array ( [1134] => 1 ) print_r($result["1134"]); //Undefined offset: 1134 //print_r($result['1134']); //Undefined offset: 1134 //print_r($result[1134]); //Undefined offset: 1134

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0040.01118.43
8.3.50.0070.00718.18
8.3.40.0110.00418.85
8.3.30.0040.01118.58
8.3.20.0000.00819.25
8.3.10.0050.00221.89
8.3.00.0040.00420.59
8.2.180.0130.00618.16
8.2.170.0120.00322.96
8.2.160.0150.00322.18
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00018.09
8.2.120.0040.00426.35
8.2.110.0080.00319.33
8.2.100.0120.00017.72
8.2.90.0060.00317.50
8.2.80.0050.00317.97
8.2.70.0000.00818.03
8.2.60.0040.00418.22
8.2.50.0030.00618.10
8.2.40.0040.00419.52
8.2.30.0080.00019.24
8.2.20.0020.00518.05
8.2.10.0080.00017.94
8.2.00.0090.00017.64
8.1.280.0140.00025.92
8.1.270.0030.00520.65
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.21
8.1.230.0050.00522.08
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0000.00918.46
8.1.160.0070.00018.71
8.1.150.0000.00718.88
8.1.140.0040.00422.13
8.1.130.0030.00320.11
8.1.120.0000.00717.30
8.1.110.0000.00817.40
8.1.100.0060.00317.30
8.1.90.0040.00417.37
8.1.80.0040.00417.43
8.1.70.0000.00817.46
8.1.60.0080.00017.43
8.1.50.0070.00017.48
8.1.40.0030.00517.57
8.1.30.0040.00417.59
8.1.20.0070.00017.65
8.1.10.0040.00417.50
8.1.00.0080.00017.46
8.0.300.0000.00718.77
8.0.290.0050.00216.75
8.0.280.0070.00018.38
8.0.270.0070.00017.16
8.0.260.0000.00618.35
8.0.250.0060.00316.85
8.0.240.0040.00416.99
8.0.230.0050.00216.96
8.0.220.0000.01016.76
8.0.210.0050.00316.96
8.0.200.0030.00316.98
8.0.190.0040.00416.94
8.0.180.0050.00316.87
8.0.170.0090.00016.97
8.0.160.0000.00716.87
8.0.150.0030.00316.79
8.0.140.0000.00716.75
8.0.130.0000.00513.34
8.0.120.0040.00416.87
8.0.110.0000.00716.79
8.0.100.0040.00416.84
8.0.90.0040.00416.93
8.0.80.0100.00816.86
8.0.70.0030.00516.77
8.0.60.0000.00716.88
8.0.50.0000.00816.83
8.0.30.0060.01217.15
8.0.20.0130.00617.40
8.0.10.0000.00716.87
8.0.00.0120.00516.71
7.4.330.0000.00415.55
7.4.320.0000.00716.51
7.4.300.0060.00016.53
7.4.290.0040.00416.59
7.4.280.0080.00316.48
7.4.270.0000.00616.52
7.4.260.0040.00416.61
7.4.250.0050.00216.37
7.4.240.0000.00816.59
7.4.230.0040.00416.39
7.4.220.0000.00816.49
7.4.210.0080.00516.57
7.4.200.0050.00216.63
7.4.160.0090.00916.56
7.4.140.0110.00717.86
7.4.130.0110.01116.36
7.4.120.0100.01016.48
7.4.110.0120.01216.55
7.4.100.0030.01316.48
7.4.90.0080.01216.39
7.4.80.0150.00919.39
7.4.70.0130.00316.66
7.4.60.0100.00616.52
7.4.50.0040.00716.26
7.4.40.0100.01016.50
7.4.00.0060.00814.93
7.3.330.0050.00013.11
7.3.320.0030.00313.02
7.3.310.0030.00616.09
7.3.300.0000.00616.20
7.3.290.0030.00316.11
7.3.280.0030.01016.27
7.3.260.0110.00616.48
7.3.240.0060.01216.40
7.3.230.0060.01016.37
7.3.210.0040.01416.38
7.3.200.0050.01016.58
7.3.190.0140.00616.38
7.3.180.0120.00416.35
7.3.170.0110.00616.45
7.3.160.0120.00616.38
7.2.330.0030.01516.39
7.2.320.0090.01016.64
7.2.310.0070.01016.25
7.2.300.0060.00916.46
7.2.290.0120.01216.29
7.2.110.0590.01214.79
7.2.100.0700.00014.64
7.2.90.0160.01014.57
7.2.80.0770.00614.50
7.2.70.0570.01214.94
7.2.60.0720.01014.57
7.2.50.0590.01314.89
7.2.40.0860.00915.07
7.2.30.0680.00714.78
7.2.20.0960.01114.50
7.2.10.0730.01015.11
7.2.00.0760.01014.80
7.1.230.0740.00413.57
7.1.220.0920.01413.98
7.1.210.0930.00713.86
7.1.200.0600.00713.58
7.1.190.0570.01313.90
7.1.180.0980.00613.77
7.1.170.0660.00713.89
7.1.160.0640.00613.62
7.1.150.0810.01013.70
7.1.140.0910.00313.70
7.1.130.0370.00413.68
7.1.120.0680.00913.66
7.1.110.1140.00913.88
7.1.100.0500.01014.07
7.1.90.0640.00613.91
7.1.80.0740.01014.04
7.1.70.0380.00613.83
7.1.60.0690.01331.73
7.1.50.1090.01031.70
7.1.40.1500.01631.84
7.1.30.1450.00731.82
7.1.20.1350.01031.86
7.1.10.1730.00013.55
7.1.00.0540.00313.86
5.6.380.0160.00413.83

preferences:
73.61 ms | 400 KiB | 5 Q