3v4l.org

run code in 300+ PHP versions simultaneously
<?php $original = unserialize('O:8:"stdClass":1:{s:4:"1134";i:1;}'); $result = (array)$original; print_r ($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.0060.01218.27
8.3.50.0060.00918.22
8.3.40.0070.00718.64
8.3.30.0000.01418.51
8.3.20.0110.00719.16
8.3.10.0040.00421.75
8.3.00.0070.00020.69
8.2.180.0120.00318.16
8.2.170.0140.00422.96
8.2.160.0140.00022.12
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00417.90
8.2.120.0040.00426.35
8.2.110.0060.00319.18
8.2.100.0000.01117.72
8.2.90.0000.00917.50
8.2.80.0080.00017.97
8.2.70.0030.00518.05
8.2.60.0050.00318.22
8.2.50.0030.00518.10
8.2.40.0000.00719.30
8.2.30.0000.00719.36
8.2.20.0040.00417.95
8.2.10.0050.00218.06
8.2.00.0000.00917.56
8.1.280.0140.00425.92
8.1.270.0060.00320.65
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.21
8.1.230.0080.00322.20
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0080.00018.51
8.1.160.0040.00418.73
8.1.150.0080.00018.74
8.1.140.0030.00322.05
8.1.130.0000.00720.27
8.1.120.0000.00717.43
8.1.110.0000.00717.28
8.1.100.0030.00717.30
8.1.90.0000.00717.31
8.1.80.0050.00317.45
8.1.70.0000.00817.51
8.1.60.0040.00417.49
8.1.50.0040.00417.52
8.1.40.0000.00717.53
8.1.30.0040.00417.52
8.1.20.0050.00217.64
8.1.10.0040.00417.51
8.1.00.0080.00017.34
8.0.300.0050.00218.77
8.0.290.0000.00816.75
8.0.280.0000.00718.43
8.0.270.0030.00317.11
8.0.260.0030.00318.30
8.0.250.0040.00416.88
8.0.240.0040.00416.82
8.0.230.0070.00016.98
8.0.220.0060.00316.88
8.0.210.0030.00316.93
8.0.200.0000.00616.91
8.0.190.0000.00816.95
8.0.180.0070.00016.80
8.0.170.0030.00616.84
8.0.160.0050.00216.78
8.0.150.0030.00516.84
8.0.140.0050.00316.74
8.0.130.0050.00013.34
8.0.120.0050.00316.89
8.0.110.0000.00716.85
8.0.100.0040.00316.74
8.0.90.0070.00016.90
8.0.80.0090.00516.84
8.0.70.0040.00416.78
8.0.60.0040.00416.84
8.0.50.0040.00416.86
8.0.30.0080.01017.02
8.0.20.0070.01417.40
8.0.10.0000.00716.96
8.0.00.0110.01316.75
7.4.330.0000.00615.55
7.4.320.0000.00616.55
7.4.300.0030.00316.52
7.4.290.0000.00716.50
7.4.280.0030.00616.59
7.4.270.0030.00316.46
7.4.260.0050.00316.58
7.4.250.0070.00016.48
7.4.240.0040.00416.54
7.4.230.0030.00316.39
7.4.220.0000.00716.48
7.4.210.0070.00716.49
7.4.200.0030.00516.59
7.4.160.0110.00816.40
7.4.140.0110.00817.86
7.4.130.0120.00616.46
7.4.120.0100.00916.50
7.4.110.0030.02116.53
7.4.100.0130.00316.52
7.4.90.0130.01016.59
7.4.80.0120.01219.39
7.4.70.0140.00416.59
7.4.60.0190.00316.33
7.4.50.0040.00816.52
7.4.40.0130.00316.37
7.4.00.0080.00914.83
7.3.330.0060.00013.11
7.3.320.0060.00013.20
7.3.310.0060.00316.27
7.3.300.0000.00616.25
7.3.290.0050.00216.16
7.3.280.0130.00716.21
7.3.260.0080.01116.41
7.3.240.0120.00616.45
7.3.230.0050.01116.46
7.3.210.0110.00616.56
7.3.200.0100.00616.32
7.3.190.0120.00416.64
7.3.180.0040.01216.39
7.3.170.0080.00816.41
7.3.160.0060.00916.38
7.3.120.0060.00914.56
7.3.110.0070.01014.92
7.3.100.0080.00814.57
7.3.90.0100.00714.63
7.3.80.0090.00614.61
7.3.70.0060.00914.87
7.3.60.0000.00814.91
7.3.50.0060.00314.75
7.3.40.0100.00714.42
7.3.30.0040.00814.87
7.3.20.0030.00616.84
7.3.10.0120.00316.30
7.3.00.0070.00716.82
7.2.330.0120.00616.67
7.2.320.0120.00616.63
7.2.310.0070.01016.48
7.2.300.0060.00916.48
7.2.290.0070.01016.70
7.2.250.0030.01314.97
7.2.240.0090.00615.22
7.2.230.0070.00715.05
7.2.220.0030.00715.12
7.2.210.0030.00615.11
7.2.200.0040.01115.07
7.2.190.0090.00615.08
7.2.180.0100.00714.98
7.2.170.0030.01014.93
7.2.110.0750.00614.19
7.2.100.1010.00714.52
7.2.90.0760.00714.60
7.2.80.1020.01014.70
7.2.70.0600.01314.61
7.2.60.0840.00014.77
7.2.50.0730.00314.84
7.2.40.0770.00614.89
7.2.30.0720.00714.78
7.2.20.0740.00614.65
7.2.10.0840.00714.68
7.2.00.0830.00715.11
7.1.330.0060.00615.74
7.1.320.0080.00815.80
7.1.310.0060.00915.97
7.1.300.0030.01015.80
7.1.290.0040.01116.00
7.1.280.0120.00015.78
7.1.270.0080.00815.59
7.1.260.0030.01315.80
7.1.230.0650.00713.80
7.1.220.0820.01313.65
7.1.210.0780.00313.46
7.1.200.0800.00313.80
7.1.190.0920.00713.88
7.1.180.0700.00713.50
7.1.170.0810.00613.93
7.1.160.0870.00313.63
7.1.150.0710.00713.81
7.1.140.0900.00313.63
7.1.130.0750.00313.61
7.1.120.0740.00613.90
7.1.110.1000.01313.71
7.1.100.1030.00613.73
7.1.90.0850.00613.78
7.1.80.0940.00713.71
7.1.70.0870.00713.84
7.1.60.1110.01031.73
7.1.50.1480.00631.82
7.1.40.1680.01331.59
7.1.30.1530.00631.81
7.1.20.2160.00931.70
7.1.10.1250.01014.04
7.1.00.0980.01013.86
5.6.380.0080.00813.85

preferences:
59.42 ms | 401 KiB | 5 Q