3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lall = 'a'; if ($lall != '') { echo "jep1\n"; } else { echo "nop1\n"; } if ($lall) { echo "jep2\n"; } else { echo "nop2\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.4.20.0000.00819.61
8.4.10.0040.00417.49
8.3.150.0120.00620.91
8.3.140.0110.00016.44
8.3.130.0030.01618.50
8.3.120.0040.00419.00
8.3.110.0090.00620.94
8.3.100.0040.00424.06
8.3.90.0050.00326.77
8.3.80.0060.00318.43
8.3.70.0090.00616.58
8.3.60.0110.00716.63
8.3.50.0110.01120.30
8.3.40.0070.00720.38
8.3.30.0040.01118.84
8.3.20.0030.00624.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.260.0080.00019.93
8.2.250.0000.00916.43
8.2.240.0040.00416.86
8.2.230.0050.00322.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0000.00916.50
8.2.190.0100.00316.58
8.2.180.0070.00725.92
8.2.170.0120.00318.82
8.2.160.0150.00022.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00026.16
8.2.110.0090.00020.38
8.2.100.0080.00417.91
8.2.90.0040.00417.91
8.2.80.0000.00819.34
8.2.70.0080.00017.63
8.2.60.0050.00317.50
8.2.50.0040.00417.80
8.2.40.0040.00417.62
8.2.30.0070.00018.06
8.2.20.0040.00420.33
8.2.10.0040.00417.59
8.2.00.0040.00419.05
8.1.310.0100.00718.22
8.1.300.0060.00316.04
8.1.290.0050.00530.84
8.1.280.0140.00725.92
8.1.270.0050.00323.99
8.1.260.0050.00326.35
8.1.250.0020.00528.09
8.1.240.0130.00322.13
8.1.230.0070.00423.96
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0000.00817.10
8.1.180.0000.00918.10
8.1.170.0040.00417.62
8.1.160.0000.00718.83
8.1.150.0000.00718.59
8.1.140.0000.00717.44
8.1.130.0000.00718.88
8.1.120.0050.00317.45
8.1.110.0000.00817.43
8.1.100.0050.00217.45
8.1.90.0070.00017.34
8.1.80.0070.00017.30
8.1.70.0000.00717.34
8.1.60.0040.00417.56
8.1.50.0000.00717.53
8.1.40.0030.00717.39
8.1.30.0060.00317.66
8.1.20.0060.00317.70
8.1.10.0000.00917.50
8.1.00.0040.00417.32
8.0.300.0070.00019.95
8.0.290.0080.00016.63
8.0.280.0060.00318.31
8.0.270.0000.00716.68
8.0.260.0040.00418.40
8.0.250.0000.01016.88
8.0.240.0090.00016.90
8.0.230.0030.00316.88
8.0.220.0070.00016.75
8.0.210.0040.00416.85
8.0.200.0000.00716.84
8.0.190.0050.00316.77
8.0.180.0030.00316.86
8.0.170.0030.00516.82
8.0.160.0030.00616.82
8.0.150.0040.00416.72
8.0.140.0080.00016.80
8.0.130.0040.00416.72
8.0.120.0040.00416.86
8.0.110.0040.00416.73
8.0.100.0040.00416.72
8.0.90.0040.00416.71
8.0.80.0060.00316.68
8.0.70.0030.00616.79
8.0.60.0060.00316.76
8.0.50.0030.00516.77
8.0.30.0050.00316.85
8.0.20.0030.00516.86
8.0.10.0060.00316.95
7.4.330.0050.00015.55
7.4.320.0000.00616.64
7.4.300.0070.00016.56
7.4.290.0040.00416.43
7.4.280.0080.00016.41
7.4.270.0040.00416.55
7.4.260.0040.00416.46
7.4.250.0040.00416.56
7.4.240.0050.00216.48
7.4.230.0080.00016.59
7.4.220.0000.00816.39
7.4.210.0000.00716.55
7.4.200.0050.00316.58
7.4.190.0000.00816.66
7.4.180.0050.00316.64
7.4.160.0040.00416.55
7.4.150.0000.00816.51
7.4.140.0080.00016.35
7.4.130.0060.00316.41
7.4.120.0030.00716.25
7.4.110.0000.00816.45
7.4.100.0080.00016.52
7.4.90.0040.00416.44
7.4.80.0040.00416.45
7.4.70.0060.00316.41
7.4.60.0000.00716.30
7.4.50.0040.00416.47
7.4.40.0030.00516.27
7.4.30.0000.00916.31
7.4.20.0000.00816.33
7.4.10.0000.00916.45
7.4.00.0000.00816.41
5.0.50.0030.0029.89

preferences:
43.94 ms | 403 KiB | 5 Q