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.0120.00618.30
8.3.50.0110.00417.84
8.3.40.0150.00618.56
8.3.30.0140.00018.56
8.3.20.0040.00419.21
8.3.10.0040.00421.90
8.3.00.0080.00020.60
8.2.180.0110.00418.17
8.2.170.0140.00022.96
8.2.160.0160.00322.13
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00418.09
8.2.120.0050.00326.35
8.2.110.0000.01019.34
8.2.100.0070.00417.78
8.2.90.0000.00917.63
8.2.80.0050.00317.97
8.2.70.0060.00317.93
8.2.60.0050.00218.21
8.2.50.0000.00918.10
8.2.40.0040.00419.48
8.2.30.0040.00419.20
8.2.20.0070.00018.00
8.2.10.0040.00418.12
8.2.00.0050.00317.65
8.1.280.0150.00325.92
8.1.270.0080.00020.70
8.1.260.0060.00326.35
8.1.250.0090.00028.09
8.1.240.0060.00322.04
8.1.230.0000.01122.08
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00817.36
8.1.190.0080.00017.23
8.1.180.0000.00918.10
8.1.170.0040.00418.34
8.1.160.0040.00418.88
8.1.150.0060.00318.84
8.1.140.0030.00322.03
8.1.130.0030.00320.23
8.1.120.0040.00417.44
8.1.110.0070.00017.29
8.1.100.0090.00017.29
8.1.90.0040.00417.40
8.1.80.0040.00417.36
8.1.70.0070.00017.50
8.1.60.0060.00317.46
8.1.50.0000.00717.44
8.1.40.0040.00417.48
8.1.30.0040.00417.57
8.1.20.0070.00017.67
8.1.10.0000.00717.53
8.1.00.0030.00717.43
8.0.300.0000.00718.77
8.0.290.0090.00016.61
8.0.280.0020.00518.42
8.0.270.0070.00017.19
8.0.260.0030.00318.29
8.0.250.0000.00917.00
8.0.240.0040.00416.96
8.0.230.0000.00716.98
8.0.220.0000.01016.93
8.0.210.0000.00816.89
8.0.200.0030.00316.83
8.0.190.0080.00016.81
8.0.180.0040.00416.91
8.0.170.0090.00016.96
8.0.160.0030.00316.92
8.0.150.0070.00016.84
8.0.140.0040.00416.91
8.0.130.0030.00313.36
8.0.120.0040.00416.81
8.0.110.0000.00716.67
8.0.100.0000.00816.76
8.0.90.0070.00016.78
8.0.80.0090.00616.86
8.0.70.0050.00316.75
8.0.60.0030.00516.73
8.0.50.0030.00516.83
8.0.30.0130.00617.09
8.0.20.0110.01117.40
8.0.10.0050.00217.00
8.0.00.0130.00616.92
7.4.330.0000.00615.55
7.4.320.0030.00316.52
7.4.300.0000.00616.42
7.4.290.0030.00316.52
7.4.280.0030.00616.46
7.4.270.0050.00216.41
7.4.260.0000.00716.46
7.4.250.0050.00216.57
7.4.240.0030.00516.65
7.4.230.0030.00516.67
7.4.220.0040.00416.34
7.4.210.0080.00816.60
7.4.200.0050.00216.58
7.4.160.0070.01116.52
7.4.140.0070.01217.86
7.4.130.0050.01416.44
7.4.120.0150.00416.51
7.4.110.0090.01216.64
7.4.100.0080.00816.41
7.4.90.0060.01216.39
7.4.80.0130.00719.39
7.4.70.0070.01016.37
7.4.60.0110.00616.46
7.4.50.0070.01116.18
7.4.40.0160.00016.59
7.4.00.0000.01515.15
7.3.330.0060.00013.25
7.3.320.0000.00513.09
7.3.310.0030.00616.14
7.3.300.0030.00316.25
7.3.290.0070.00016.25
7.3.280.0170.00316.21
7.3.260.0120.00716.38
7.3.240.0070.00916.43
7.3.230.0060.01016.44
7.3.210.0090.00816.31
7.3.200.0060.01616.23
7.3.190.0130.01016.38
7.3.180.0100.00916.27
7.3.170.0070.01216.31
7.3.160.0060.00916.56
7.3.10.0060.00616.72
7.3.00.0110.00016.66
7.2.330.0100.00716.76
7.2.320.0130.00316.75
7.2.310.0180.00416.81
7.2.300.0090.00616.78
7.2.290.0060.01116.29
7.2.130.0070.00816.93
7.2.120.0090.00616.87
7.2.110.0220.00915.76
7.2.100.0060.00915.57
7.2.90.0410.01015.90
7.2.80.0300.00515.86
7.2.70.0070.00515.81
7.2.60.0200.00815.82
7.2.50.0070.00716.05
7.2.40.0020.01215.94
7.2.30.0310.00615.97
7.2.20.0090.00915.72
7.2.10.0200.00815.63
7.2.00.0410.00815.90
7.1.250.0030.01215.82
7.1.230.0340.00414.14
7.1.220.0100.00313.95
7.1.210.0050.00513.87
7.1.200.0060.01013.61
7.1.190.0490.00714.00
7.1.180.0030.00814.11
7.1.170.0080.00413.81
7.1.160.0160.00713.80
7.1.150.0070.01313.93
7.1.140.0230.00913.69
7.1.130.1070.00013.75
7.1.120.0330.00413.40
7.1.110.0870.00313.71
7.1.100.0100.00313.96
7.1.90.0030.01013.91
7.1.80.0160.00013.88
7.1.70.0100.00314.01
7.1.60.0520.01031.66
7.1.50.0260.01431.72
7.1.40.0490.01831.93
7.1.30.0340.00331.86
7.1.20.0320.00831.93
7.1.10.0710.00913.70
7.1.00.0750.01313.98
5.6.380.0040.00913.95

preferences:
65.55 ms | 401 KiB | 5 Q