3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = []; if (isset($a['key']) && $a['key'] > 5) { echo 'See, no errors!'; } else { echo 'But the result is `false`'; }

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.5.30.0090.00819.36
8.5.20.0110.00820.05
8.5.10.0100.00720.11
8.5.00.0110.01020.06
8.4.180.0110.01023.63
8.4.170.0140.00821.65
8.4.160.0190.01020.50
8.4.150.0070.00616.90
8.4.140.0150.00717.83
8.4.130.0140.00717.55
8.4.120.0100.00920.56
8.4.110.0080.00822.30
8.4.100.0100.01017.82
8.4.90.0140.00618.73
8.4.80.0120.01019.38
8.4.70.0110.00917.80
8.4.60.0090.01018.58
8.4.50.0100.01019.32
8.4.40.0060.00319.62
8.4.30.0120.00620.50
8.4.20.0080.01219.33
8.4.10.0100.01023.64
8.3.300.0150.00620.33
8.3.290.0120.00920.78
8.3.280.0160.00418.50
8.3.270.0080.01216.77
8.3.260.0110.00916.71
8.3.250.0070.00118.89
8.3.240.0120.00716.54
8.3.230.0100.00816.77
8.3.220.0130.00517.23
8.3.210.0110.00416.55
8.3.200.0040.00416.46
8.3.190.0050.00319.00
8.3.180.0110.00716.84
8.3.170.0030.01420.64
8.3.160.0080.00020.10
8.3.150.0100.00316.54
8.3.140.0050.00317.13
8.3.130.0060.00318.47
8.3.120.0080.00020.59
8.3.110.0100.00016.63
8.3.100.0040.00816.48
8.3.90.0090.00926.77
8.3.80.0030.00618.30
8.3.70.0130.01016.63
8.3.60.0110.00716.75
8.3.50.0030.01316.47
8.3.40.0030.01719.96
8.3.30.0140.00018.65
8.3.20.0070.00024.18
8.3.10.0050.00524.66
8.3.00.0080.00026.16
8.2.300.0100.01122.20
8.2.290.0050.00522.21
8.2.280.0040.00418.43
8.2.270.0000.01519.14
8.2.260.0000.00918.41
8.2.250.0030.00518.46
8.2.240.0080.00017.37
8.2.230.0070.00320.94
8.2.220.0160.00024.06
8.2.210.0090.00926.77
8.2.200.0060.00316.63
8.2.190.0180.00016.58
8.2.180.0100.01316.75
8.2.170.0040.01218.86
8.2.160.0070.00722.96
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.13
8.2.110.0060.00321.12
8.2.100.0060.00617.84
8.2.90.0040.00419.53
8.2.80.0000.00818.21
8.2.70.0000.00817.50
8.2.60.0000.00817.63
8.2.50.0150.00319.49
8.2.40.0140.00319.49
8.2.30.0200.00019.49
8.2.20.0060.01019.49
8.2.10.0170.00019.49
8.2.00.0130.00319.49
8.1.340.0120.00821.58
8.1.330.0140.00521.84
8.1.320.0120.00715.97
8.1.310.0070.01018.20
8.1.300.0130.00717.92
8.1.290.0000.00930.84
8.1.280.0150.00625.92
8.1.270.0040.00423.78
8.1.260.0080.00026.35
8.1.250.0030.00328.09
8.1.240.0030.00622.64
8.1.230.0090.00320.91
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00517.35
8.1.190.0050.00217.22
8.1.180.0110.00519.49
8.1.170.0110.00719.49
8.1.160.0130.00619.49
8.1.150.0110.00719.49
8.1.140.0090.00919.49
8.1.130.0100.00719.49
8.1.120.0120.00519.49
8.1.110.0070.00719.49
8.1.100.0150.00319.49
8.1.90.0130.00319.49
8.1.80.0140.00319.49
8.1.70.0110.00619.49
8.1.60.0130.00519.49
8.1.50.0150.00319.49
8.1.40.0140.00319.49
8.1.30.0180.00019.49
8.1.20.0110.00819.49
8.1.10.0140.00319.49
8.1.00.0140.00319.49
8.0.300.0000.00819.84
8.0.290.0080.00016.63
8.0.280.0070.00719.49
8.0.270.0180.00019.49
8.0.260.0060.01119.49
8.0.250.0100.00519.49
8.0.240.0100.00619.49
8.0.230.0110.00519.49
8.0.220.0150.00019.49
8.0.210.0150.00419.49
8.0.200.0130.00519.49
8.0.190.0160.00019.49
8.0.180.0160.00019.49
8.0.170.0100.00719.49
8.0.160.0170.00019.49
8.0.150.0070.00719.49
8.0.140.0110.00519.49
8.0.130.0110.00519.49
8.0.120.0170.00019.49
8.0.110.0120.00419.49
8.0.100.0160.00019.49
8.0.90.0160.00019.49
8.0.80.0160.00019.49
8.0.70.0160.00019.49
8.0.60.0030.01419.49
8.0.50.0170.00019.49
8.0.30.0100.00519.49
8.0.20.0160.00019.49
8.0.10.0130.00319.49

preferences:
87.69 ms | 1100 KiB | 5 Q