3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lall = 1; if ($lall != false) { echo "jep0\n"; } else { echo "nop\n"; } if ($lall != 0) { 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.0170.00319.34
8.4.10.0100.00717.48
8.3.150.0050.00517.36
8.3.140.0130.00616.45
8.3.130.0060.00318.48
8.3.120.0030.00620.65
8.3.110.0060.00316.55
8.3.100.0030.00616.50
8.3.90.0150.00026.77
8.3.80.0040.00716.63
8.3.70.0070.01116.75
8.3.60.0150.00316.59
8.3.50.0070.01019.98
8.3.40.0090.00620.21
8.3.30.0060.00918.92
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.260.0070.00718.62
8.2.250.0040.01116.46
8.2.240.0040.00816.84
8.2.230.0030.00720.94
8.2.220.0060.00324.06
8.2.210.0050.00326.77
8.2.200.0090.00016.25
8.2.190.0110.00316.58
8.2.180.0140.00025.92
8.2.170.0110.01118.82
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.00322.24
8.2.100.0040.00817.91
8.2.90.0080.00017.88
8.2.80.0040.00418.74
8.2.70.0000.00917.50
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0080.00018.22
8.2.30.0030.00517.97
8.2.20.0040.00420.31
8.2.10.0000.00817.62
8.2.00.0000.00819.29
8.1.310.0080.00016.71
8.1.300.0190.00015.91
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.73
8.1.230.0070.00417.70
8.1.220.0090.00017.74
8.1.210.0090.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0060.00318.64
8.1.160.0040.00418.77
8.1.150.0030.00518.56
8.1.140.0080.00017.36
8.1.130.0070.00018.88
8.1.120.0030.00517.44
8.1.110.0000.00717.34
8.1.100.0080.00017.49
8.1.90.0000.00717.44
8.1.80.0060.00617.44
8.1.70.0060.00317.39
8.1.60.0050.00717.51
8.1.50.0110.00417.54
8.1.40.0120.00317.43
8.1.30.0140.00117.58
8.1.20.0080.00517.57
8.1.10.0100.00417.48
8.1.00.0060.00917.37
8.0.300.0060.00318.77
8.0.290.0030.00616.75
8.0.280.0030.00618.44
8.0.270.0030.00317.92
8.0.260.0040.00418.45
8.0.250.0100.00016.90
8.0.240.0030.00616.95
8.0.230.0000.00716.84
8.0.220.0000.00716.76
8.0.210.0040.00816.84
8.0.200.0090.00316.84
8.0.190.0090.00316.90
8.0.180.0050.00616.81
8.0.170.0060.00616.85
8.0.160.0050.00716.82
8.0.150.0070.00416.78
8.0.140.0050.00616.76
8.0.130.0110.00116.77
8.0.120.0070.00316.86
8.0.110.0050.00516.82
8.0.100.0080.00316.87
8.0.90.0050.00816.83
8.0.80.0050.00516.87
8.0.70.0040.00716.77
8.0.60.0070.00516.83
8.0.50.0080.00516.80
8.0.30.0100.00316.83
8.0.20.0080.00416.90
8.0.10.0060.00616.89
7.4.330.0000.00515.55
7.4.320.0000.00616.50
7.4.300.0110.00116.51
7.4.290.0080.00616.51
7.4.280.0100.00316.54
7.4.270.0110.00216.50
7.4.260.0070.00616.51
7.4.250.0070.00616.47
7.4.240.0060.00516.56
7.4.230.0100.00216.50
7.4.220.0070.00416.49
7.4.210.0070.00416.50
7.4.200.0060.00616.46
7.4.190.0040.00716.52
7.4.180.0080.00316.48
7.4.160.0030.00916.56
7.4.150.0060.00516.44
7.4.140.0070.00416.42
7.4.130.0070.00516.45
7.4.120.0070.00516.36
7.4.110.0050.00616.46
7.4.100.0070.00416.47
7.4.90.0040.00716.45
7.4.80.0060.00416.47
7.4.70.0050.00416.35
7.4.60.0020.00716.47
7.4.50.0040.00816.34
7.4.40.0100.00116.35
7.4.30.0040.00616.44
7.4.20.0080.00216.37
7.4.10.0080.00116.41
7.4.00.0050.00516.52

preferences:
48.2 ms | 403 KiB | 5 Q