3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; print $a['hello'] ?? 'world'; print "\n";

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.00416.50
8.3.50.0110.00420.21
8.3.40.0050.00818.82
8.3.30.0070.00719.04
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.180.0060.00925.92
8.2.170.0120.00918.88
8.2.160.0100.00722.96
8.2.150.0000.00825.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0090.00020.34
8.2.100.0080.00417.78
8.2.90.0040.00417.88
8.2.80.0080.00018.86
8.2.70.0060.00317.50
8.2.60.0050.00317.63
8.2.50.0080.00017.98
8.2.40.0040.00417.91
8.2.30.0050.00318.37
8.2.20.0020.00520.53
8.2.10.0000.00718.02
8.2.00.0070.00319.09
8.1.280.0070.00725.92
8.1.270.0050.00223.99
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00322.00
8.1.230.0000.01022.20
8.1.220.0040.00418.56
8.1.210.0000.00818.77
8.1.200.0040.00417.52
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0000.00818.82
8.1.150.0070.00318.44
8.1.140.0070.00017.25
8.1.130.0030.00318.77
8.1.120.0040.00417.43
8.1.110.0030.00617.41
8.1.100.0000.00717.39
8.1.90.0070.00017.30
8.1.80.0030.00617.38
8.1.70.0030.00317.40
8.1.60.0060.00917.56
8.1.50.0250.00217.43
8.1.40.0210.00517.47
8.1.30.0190.00517.52
8.1.20.0180.00617.48
8.1.10.0180.00117.45
8.1.00.0110.00317.41
8.0.300.0060.00318.77
8.0.290.0040.00416.58
8.0.280.0030.00318.45
8.0.270.0040.00416.72
8.0.260.0060.00018.51
8.0.250.0030.00316.84
8.0.240.0070.00016.97
8.0.230.0030.00316.77
8.0.220.0070.00016.70
8.0.210.0000.00716.71
8.0.200.0030.00316.77
8.0.190.0180.00016.86
8.0.180.0150.00416.81
8.0.170.0180.00216.83
8.0.160.0170.00416.77
8.0.150.0130.00616.77
8.0.140.0160.00416.73
8.0.130.0150.00516.64
8.0.120.0170.00416.69
8.0.110.0190.00216.74
8.0.100.0120.00416.75
8.0.90.0140.00416.63
8.0.80.0150.00416.72
8.0.70.0140.00516.74
8.0.60.0120.00616.71
8.0.50.0120.00616.74
8.0.30.0190.00116.68
8.0.20.0110.00816.78
8.0.10.0150.00516.98
7.4.330.0000.00515.55
7.4.320.0000.00616.47
7.4.300.0000.00616.30
7.4.290.0130.00316.51
7.4.280.0140.00416.46
7.4.270.0070.01016.47
7.4.260.0130.00216.46
7.4.250.0170.00216.40
7.4.240.0120.00716.34
7.4.230.0130.00716.41
7.4.220.0110.00716.45
7.4.210.0150.00016.23
7.4.200.0100.00516.33
7.4.190.0110.00716.50
7.4.180.0130.00916.49
7.4.160.0150.00616.42
7.4.150.0220.00216.40
7.4.140.0170.00416.39
7.4.130.0140.00716.35
7.4.120.0200.00216.40
7.4.110.0130.00716.33
7.4.100.0190.00116.37
7.4.90.0190.00316.35
7.4.80.0130.00816.33
7.4.70.0160.00616.35
7.4.60.0150.00516.25
7.4.50.0120.00716.29
7.4.40.0150.00616.34
7.4.30.0170.00516.47
7.4.20.0130.01016.36
7.4.10.0130.00716.44
7.4.00.0160.00516.41

preferences:
49.14 ms | 400 KiB | 5 Q