3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $key = 12; $val = isset($array[$key]) ? $array[$key] : null; var_dump($val);

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.4.10.0060.00319.56
8.3.140.0040.01116.65
8.3.130.0080.00016.51
8.3.120.0090.00016.43
8.3.110.0000.00816.50
8.3.100.0070.00316.50
8.3.90.0090.00626.77
8.3.80.0040.00419.36
8.3.70.0090.00918.56
8.3.60.0100.01018.43
8.3.50.0220.00223.52
8.3.40.0070.00718.57
8.3.30.0150.00018.42
8.3.20.0050.00320.65
8.3.10.0040.00422.05
8.3.00.0040.00421.86
8.2.260.0150.00416.80
8.2.250.0090.00018.50
8.2.240.0100.01017.04
8.2.230.0160.00020.94
8.2.220.0060.00324.06
8.2.210.0110.00726.77
8.2.200.0080.00418.88
8.2.190.0140.00716.58
8.2.180.0000.01518.16
8.2.170.0150.00622.96
8.2.160.0100.00322.08
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00626.16
8.2.110.0040.00420.53
8.2.100.0060.00617.84
8.2.90.0040.00419.08
8.2.80.0060.00317.97
8.2.70.0050.00318.03
8.2.60.0040.00417.63
8.2.50.0040.00418.10
8.2.40.0070.00020.55
8.2.30.0040.00419.92
8.2.20.0000.00718.10
8.2.10.0050.00219.23
8.2.00.0000.00819.23
8.1.310.0150.00318.56
8.1.300.0040.00420.21
8.1.290.0040.00430.84
8.1.280.0120.00625.92
8.1.270.0040.00420.82
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.65
8.1.230.0060.00617.77
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0040.00418.94
8.1.160.0000.00718.81
8.1.150.0040.00419.05
8.1.140.0050.00220.58
8.1.130.0030.00521.97
8.1.120.0040.00417.43
8.1.110.0000.00817.34
8.1.100.0040.00417.41
8.1.90.0070.00317.39
8.1.80.0050.00217.29
8.1.70.0030.00317.38
8.1.60.0100.00017.54
8.1.50.0100.00017.42
8.1.40.0000.00817.46
8.1.30.0060.00317.54
8.1.20.0000.00817.54
8.1.10.0000.00817.39
8.1.00.0040.00417.46
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0050.00217.85
8.0.260.0050.00319.85
8.0.250.0070.00016.88
8.0.240.0100.00216.95
8.0.230.0000.00716.89
8.0.220.0030.00316.81
8.0.210.0050.00216.88
8.0.200.0030.00316.89
8.0.190.0050.00316.93
8.0.180.0040.00416.75
8.0.170.0030.00816.72
8.0.160.0070.00016.82
8.0.150.0030.00516.75
8.0.140.0000.00816.69
8.0.130.0060.00013.18
8.0.120.0080.00016.78
8.0.110.0060.00316.73
8.0.100.0050.00316.82
8.0.90.0040.00416.70
8.0.80.0060.00816.76
8.0.70.0000.00716.84
8.0.60.0000.00716.88
8.0.50.0000.00716.88
8.0.30.0060.00916.95
8.0.20.0080.01116.87
8.0.10.0070.00016.94
8.0.00.0130.01016.73
7.4.330.0030.00316.84
7.4.320.0000.00616.56
7.4.300.0060.00016.54
7.4.290.0080.00016.51
7.4.280.0030.00516.47
7.4.270.0050.00216.34
7.4.260.0000.00513.26
7.4.250.0000.00716.34
7.4.240.0020.00516.48
7.4.230.0030.00316.40
7.4.220.0000.00716.53
7.4.210.0060.01016.43
7.4.200.0000.00716.52
7.4.130.0110.01016.34
7.4.120.0090.01716.37
7.4.110.0070.01016.42
7.4.100.0070.01016.40
7.4.90.0060.00916.30
7.4.80.0030.01319.39
7.4.70.0060.01316.69
7.4.60.0090.01216.41
7.4.50.0040.01216.06
7.4.40.0120.00416.42
7.4.10.0060.00914.58
7.4.00.0030.01014.84
7.3.330.0030.00616.25
7.3.320.0050.00013.00
7.3.310.0000.00716.21
7.3.300.0000.00716.10
7.3.290.0050.00916.22
7.3.280.0100.00716.26
7.3.260.0110.01116.37
7.3.230.0130.00316.13
7.3.210.0170.00016.38
7.3.200.0130.00316.30
7.3.190.0000.01916.30
7.3.180.0120.00616.30
7.3.170.0040.01216.24
7.3.160.0030.01316.30
7.3.130.0030.01014.43
7.3.120.0130.00014.64
7.3.110.0040.01114.38
7.3.100.0080.00814.55
7.3.90.0000.01314.40
7.3.80.0100.00314.59
7.3.70.0130.00314.58
7.3.60.0090.00414.52
7.3.50.0030.01014.56
7.3.40.0110.00314.37
7.3.30.0030.01014.72
7.3.20.0080.00714.72
7.3.10.0030.01214.59
7.3.00.0070.00714.56
7.2.330.0130.00416.34
7.2.320.0110.00616.30
7.2.310.0090.00916.29
7.2.300.0140.00316.63
7.2.290.0100.01016.61
7.2.260.0120.00415.11
7.2.250.0110.00414.88
7.2.240.0070.01014.66
7.2.230.0030.01015.08
7.2.220.0030.01014.82
7.2.210.0070.01014.76
7.2.200.0030.01114.85
7.2.190.0090.00614.71
7.2.180.0070.00714.85
7.2.170.0000.01514.64
7.2.160.0090.00614.89
7.2.150.0100.00914.93
7.2.140.0110.00414.89
7.2.130.0040.01214.91
7.2.120.0000.01715.00
7.2.110.0090.00914.93
7.2.100.0080.00815.05
7.2.90.0090.00614.59
7.2.80.0380.01014.99
7.2.70.0110.00615.14
7.2.60.0080.00614.95
7.2.50.0070.00614.99
7.2.40.0080.00514.74
7.2.30.0030.01715.09
7.2.20.0080.00614.98
7.2.10.0060.00914.96
7.2.00.0040.01215.09

preferences:
29.34 ms | 403 KiB | 5 Q