3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; if(!isset($a[1][2])){ $a[1][2] = 'anotheu'; echo "Nope"; } else { echo "Yup"; }

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.0000.01418.43
8.3.50.0110.00716.64
8.3.40.0120.00318.84
8.3.30.0110.00318.84
8.3.20.0050.00320.25
8.3.10.0060.00323.64
8.3.00.0040.00419.69
8.2.180.0070.01118.25
8.2.170.0040.01122.96
8.2.160.0040.01119.22
8.2.150.0000.00824.18
8.2.140.0050.00024.66
8.2.130.0060.00319.37
8.2.120.0050.00326.35
8.2.110.0070.01020.51
8.2.100.0070.00417.72
8.2.90.0030.00619.38
8.2.80.0040.00418.04
8.2.70.0000.00917.63
8.2.60.0030.00617.93
8.2.50.0000.00918.10
8.2.40.0000.00820.55
8.2.30.0060.00319.30
8.2.20.0000.00718.10
8.2.10.0040.00418.02
8.2.00.0050.00218.13
8.1.280.0100.00625.92
8.1.270.0040.00421.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.60
8.1.230.0040.00719.14
8.1.220.0060.00317.77
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0060.00317.22
8.1.180.0000.00818.10
8.1.170.0000.00718.71
8.1.160.0030.00518.97
8.1.150.0060.00318.88
8.1.140.0040.00419.52
8.1.130.0000.00718.88
8.1.120.0000.00717.39
8.1.110.0040.00417.30
8.1.100.0040.00417.49
8.1.90.0040.00417.34
8.1.80.0070.00017.35
8.1.70.0070.00317.49
8.1.60.0000.00717.54
8.1.50.0080.00017.48
8.1.40.0090.00317.35
8.1.30.0060.00317.48
8.1.20.0040.00417.69
8.1.10.0000.00717.57
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0040.00416.74
8.0.280.0070.00018.44
8.0.270.0080.00017.17
8.0.260.0050.00316.72
8.0.250.0000.00716.94
8.0.240.0070.00016.93
8.0.230.0040.00416.94
8.0.220.0040.00416.88
8.0.210.0040.00416.81
8.0.200.0000.00616.93
8.0.190.0030.00516.93
8.0.180.0000.00716.91
8.0.170.0040.00416.95
8.0.160.0000.00816.97
8.0.150.0030.00316.87
8.0.140.0050.00216.71
8.0.130.0000.00513.29
8.0.120.0000.00716.76
8.0.110.0030.00516.93
8.0.100.0040.00416.98
8.0.90.0000.00716.91
8.0.80.0030.01216.80
8.0.70.0040.00416.89
8.0.60.0030.00516.70
8.0.50.0080.00016.77
8.0.30.0060.01117.12
8.0.20.0110.00917.40
8.0.10.0000.00917.07
8.0.00.0100.00616.95
7.4.330.0020.00215.55
7.4.320.0000.00616.61
7.4.300.0030.00316.58
7.4.290.0060.00316.49
7.4.280.0060.00316.63
7.4.270.0030.00316.57
7.4.260.0040.00416.57
7.4.250.0040.00416.49
7.4.240.0050.00316.40
7.4.230.0040.00416.32
7.4.220.0070.01016.39
7.4.210.0100.00416.44
7.4.200.0070.00016.42
7.4.160.0080.00816.47
7.4.150.0100.00717.40
7.4.140.0080.01117.86
7.4.130.0110.01416.52
7.4.120.0110.01016.45
7.3.330.0050.00013.17
7.3.320.0030.00313.10
7.3.310.0000.00716.14
7.3.300.0040.00416.20
7.3.290.0050.01116.28
7.3.280.0090.00816.26
7.3.270.0050.01517.40
7.3.260.0100.00616.45
7.3.250.0080.01016.44
7.3.240.0050.01316.24
7.0.170.0100.00816.36

preferences:
49.66 ms | 400 KiB | 5 Q