3v4l.org

run code in 300+ PHP versions simultaneously
<?php $small_num = '9999'; $large_num = '9999999999999999999999999999999'; $arr = (array)json_decode("{\"$small_num\":\"1\",\"$large_num\":\"1\"}"); var_dump(array( 'isset_small_num_key' => isset($arr[$small_num]), 'isset_large_num_key' => isset($arr[$large_num]), ));

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.0110.00716.63
8.3.50.0060.01521.30
8.3.40.0090.00618.79
8.3.30.0060.00918.55
8.3.20.0050.00320.18
8.3.10.0040.00423.35
8.3.00.0000.00822.40
8.2.180.0120.00616.32
8.2.170.0110.00422.96
8.2.160.0110.00320.38
8.2.150.0030.00624.18
8.2.140.0110.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00417.75
8.2.110.0090.00019.14
8.2.100.0000.01317.75
8.2.90.0050.00219.19
8.2.80.0040.00417.97
8.2.70.0050.00317.75
8.2.60.0000.00817.92
8.2.50.0040.00418.07
8.2.40.0030.00621.11
8.2.30.0060.00319.78
8.2.20.0040.00417.61
8.2.10.0000.00718.22
8.2.00.0070.00018.16
8.1.280.0090.00925.92
8.1.270.0060.00320.26
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.70
8.1.230.0080.00317.42
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0030.00718.49
8.1.160.0030.00721.95
8.1.150.0050.00318.82
8.1.140.0030.00517.32
8.1.130.0030.00317.56
8.1.120.0000.00717.30
8.1.110.0000.00717.29
8.1.100.0000.00717.43
8.1.90.0080.00017.38
8.1.80.0030.00717.32
8.1.70.0030.00317.51
8.1.60.0030.00617.52
8.1.50.0000.00717.51
8.1.40.0000.00817.38
8.1.30.0000.00817.62
8.1.20.0060.00317.47
8.1.10.0040.00417.45
8.1.00.0000.00717.33
8.0.300.0050.00218.77
8.0.290.0070.00016.75
8.0.280.0000.00718.35
8.0.270.0040.00417.26
8.0.260.0000.00617.25
8.0.250.0080.00016.94
8.0.240.0070.00016.93
8.0.230.0070.00016.86
8.0.220.0040.00416.85
8.0.210.0070.00016.87
8.0.200.0030.00316.97
8.0.190.0060.00317.01
8.0.180.0080.00016.92
8.0.170.0030.00516.89
8.0.160.0000.00816.85
8.0.150.0050.00316.79
8.0.140.0060.00616.71
8.0.130.0000.00713.36
8.0.120.0000.00816.86
8.0.110.0050.00316.80
8.0.100.0000.00716.76
8.0.90.0000.00716.89
8.0.80.0090.00616.95
8.0.70.0040.00416.87
8.0.60.0030.00316.68
8.0.50.0030.00516.90
8.0.30.0090.00916.96
8.0.20.0140.00617.40
8.0.10.0000.00716.80
8.0.00.0070.01116.68
7.4.330.0070.00015.08
7.4.320.0030.00316.40
7.4.300.0040.00416.60
7.4.290.0040.00416.44
7.4.280.0070.00016.46
7.4.270.0030.00316.49
7.4.260.0070.00016.57
7.4.250.0000.00716.56
7.4.240.0030.00316.49
7.4.230.0000.00716.70
7.4.220.0160.00316.62
7.4.210.0080.01116.37
7.4.200.0040.00416.60
7.4.160.0030.01216.61
7.4.150.0120.00917.40
7.4.140.0110.01117.86
7.4.130.0090.00816.42
7.4.120.0080.01016.38
7.4.110.0000.01616.50
7.4.100.0060.01216.62
7.4.90.0160.00316.45
7.4.80.0100.00919.39
7.4.70.0000.01516.64
7.4.60.0120.00816.48
7.4.50.0030.00316.34
7.4.40.0140.00316.56
7.4.30.0030.01416.49
7.4.00.0120.00314.72
7.3.330.0070.00013.21
7.3.320.0050.00013.20
7.3.310.0000.00716.41
7.3.300.0070.00016.34
7.3.290.0110.00316.31
7.3.280.0090.00916.33
7.3.270.0110.00617.40
7.3.260.0000.01716.15
7.3.250.0080.00916.56
7.3.240.0060.01216.58
7.3.230.0090.01716.41
7.3.210.0120.00916.71
7.3.200.0100.00719.39
7.3.190.0000.01516.60
7.3.180.0100.00616.34
7.3.170.0060.01216.31
7.3.160.0140.00316.34
7.3.120.0070.01114.68
7.3.110.0030.01014.75
7.3.100.0030.00614.92
7.3.90.0030.00614.82
7.3.80.0060.00614.83
7.3.70.0030.00914.67
7.3.60.0040.00714.80
7.3.50.0080.00814.77
7.3.40.0070.01014.78
7.3.30.0040.01114.95
7.3.20.0000.01316.74
7.3.10.0030.01016.46
7.3.00.0060.00916.82
7.2.330.0080.00816.18
7.2.320.0060.01116.40
7.2.310.0060.01016.65
7.2.300.0100.00716.54
7.2.290.0040.01316.48
7.2.240.0110.00414.86
7.2.230.0040.00714.94
7.2.220.0070.01114.83
7.2.210.0040.01214.66
7.2.200.0030.00914.94
7.2.190.0000.01214.92
7.2.180.0040.00814.86
7.2.170.0040.00714.95
7.2.160.0000.01614.73
7.2.150.0090.00316.64
7.2.140.0060.00316.81
7.2.130.0070.00716.71
7.2.120.0090.00616.85
7.2.110.0040.00816.73
7.2.100.0040.00816.75
7.2.90.0040.00816.92
7.2.80.0060.00916.89
7.2.70.0070.01016.50
7.2.60.0050.01016.65
7.2.50.0090.00416.55
7.2.40.0040.00716.84
7.2.30.0060.00616.55
7.2.20.0060.00916.88
7.2.10.0070.00416.85
7.2.00.0020.01118.04
7.1.330.0030.00715.77
7.1.320.0100.00315.86
7.1.310.0090.00615.65
7.1.300.0060.00615.51
7.1.290.0000.01015.93
7.1.280.0030.00715.66
7.1.270.0070.00315.86
7.1.260.0060.00615.53
7.1.250.0060.00915.89
7.1.200.0080.00515.98
7.1.100.0000.01318.14
7.1.70.0030.00717.16
7.1.60.0170.00720.03
7.1.50.0100.01317.05
7.1.00.0000.08022.45
7.0.200.0090.00614.99
7.0.60.0070.04020.01
7.0.50.0000.05317.80
7.0.40.0130.08320.04
7.0.30.0200.06320.13
7.0.20.0330.07020.30
7.0.10.0170.07320.16
7.0.00.0030.04320.16
5.6.280.0100.05021.08
5.6.210.0070.08720.60
5.6.200.0100.06318.09
5.6.190.0130.07020.43
5.6.180.0230.08020.33
5.6.170.0300.05720.69
5.6.160.0030.07320.51
5.6.150.0170.02718.14
5.6.140.0230.03718.09
5.6.130.0070.08718.15
5.6.120.0100.08321.13
5.6.110.0170.06720.95
5.6.100.0070.04320.96
5.6.90.0100.05321.09
5.6.80.0070.03720.40
5.6.70.4370.05020.55
5.5.350.0070.04020.41
5.5.340.0070.06317.98
5.5.330.0000.04320.19
5.5.320.0230.04720.29
5.5.310.0300.05020.21
5.5.300.0070.04717.98
5.5.290.0100.08317.91
5.5.280.0070.05020.95
5.5.270.0030.06320.86
5.5.260.0030.08020.67
5.5.250.0200.07020.57
5.5.240.0070.05720.22
5.4.450.0630.06719.49
5.4.440.0770.04319.37
5.4.430.0530.06719.55
5.4.420.0630.06019.51
5.4.410.0630.05719.48
5.4.400.0700.05018.78
5.4.390.0730.04718.77
5.4.380.0700.05319.07
5.4.370.0900.07018.77
5.4.360.0700.05319.30
5.4.350.0630.05318.77
5.4.340.0730.05719.23
5.4.320.0670.06019.08
5.4.310.0800.04719.09
5.4.300.0730.05019.19
5.4.290.0700.05019.23
5.4.280.0670.06019.20
5.4.270.0730.05719.07
5.4.260.0700.05719.16
5.4.250.0630.06019.19
5.4.240.0630.05019.09
5.4.230.0830.06318.76
5.4.220.0630.06318.77
5.4.210.0700.04018.99
5.4.200.0570.05016.61
5.4.190.0670.06018.98
5.4.180.0830.04018.73
5.4.170.0700.05019.04
5.4.160.0630.05718.97
5.4.150.0670.05319.15
5.4.140.0730.04716.22
5.4.130.0530.05316.30
5.4.120.0630.04716.47
5.4.110.0730.04716.43
5.4.100.0770.04716.16
5.4.90.0600.05716.31
5.4.80.0600.05016.27
5.4.70.0570.05316.18
5.4.60.0300.06716.20
5.4.50.0000.05016.36
5.4.40.0070.05716.20
5.4.30.0000.05316.18
5.4.20.0130.03316.04

preferences:
39.75 ms | 401 KiB | 5 Q