3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lall = null; if ($lall != 0) { echo "jep1\n"; } else { echo "nop1\n"; } if ($lall != '0') { 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.00317.77
8.4.10.0080.00017.63
8.3.150.0080.00019.07
8.3.140.0070.00318.79
8.3.130.0030.00618.43
8.3.120.0060.00320.59
8.3.110.0030.00620.94
8.3.100.0060.00316.78
8.3.90.0040.00426.77
8.3.80.0000.00916.50
8.3.70.0140.00016.58
8.3.60.0120.00318.41
8.3.50.0070.01120.07
8.3.40.0140.00418.84
8.3.30.0070.00718.54
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0030.00626.16
8.2.260.0140.00417.14
8.2.250.0150.00416.81
8.2.240.0060.00917.15
8.2.230.0060.00322.58
8.2.220.0040.00424.06
8.2.210.0070.00426.77
8.2.200.0030.00616.75
8.2.190.0140.00316.75
8.2.180.0040.01125.92
8.2.170.0170.00318.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0070.00021.00
8.2.110.0100.00720.54
8.2.100.0030.00817.84
8.2.90.0020.00520.59
8.2.80.0080.00017.97
8.2.70.0040.00417.93
8.2.60.0030.00618.21
8.2.50.0000.00919.34
8.2.40.0080.00021.01
8.2.30.0050.00318.12
8.2.20.0040.00420.30
8.2.10.0040.00417.61
8.2.00.0040.00419.11
8.1.310.0080.00016.52
8.1.300.0030.01319.63
8.1.290.0030.00630.84
8.1.280.0100.01025.92
8.1.270.0050.00323.99
8.1.260.0040.01426.35
8.1.250.0070.00028.09
8.1.240.0030.00721.98
8.1.230.0080.00320.96
8.1.220.0060.00317.74
8.1.210.0030.00919.08
8.1.200.0080.00317.23
8.1.190.0040.00417.23
8.1.180.0030.00618.88
8.1.170.0040.00418.61
8.1.160.0050.00318.98
8.1.150.0040.00418.63
8.1.140.0060.00317.40
8.1.130.0030.00717.32
8.1.120.0040.00417.29
8.1.110.0030.00617.33
8.1.100.0040.00417.35
8.1.90.0000.00717.43
8.1.80.0030.00617.45
8.1.70.0030.00517.47
8.1.60.0030.00517.62
8.1.50.0000.00717.51
8.1.40.0000.00817.55
8.1.30.0000.00817.54
8.1.20.0070.00217.61
8.1.10.0040.00417.34
8.1.00.0030.00617.41
8.0.300.0030.00619.93
8.0.290.0060.00316.75
8.0.280.0070.00018.31
8.0.270.0050.00216.77
8.0.260.0000.00616.87
8.0.250.0040.00416.95
8.0.240.0080.00016.79
8.0.230.0030.00316.93
8.0.220.0030.00316.91
8.0.210.0000.00716.87
8.0.200.0020.00516.94
8.0.190.0060.00316.88
8.0.180.0030.00416.94
8.0.170.0040.00516.91
8.0.160.0050.00316.81
8.0.150.0080.00316.84
8.0.140.0060.00116.79
8.0.130.0050.00316.81
8.0.120.0030.00516.82
8.0.110.0040.00416.81
8.0.100.0040.00516.92
8.0.90.0070.00216.86
8.0.80.0050.00316.89
8.0.70.0030.00516.84
8.0.60.0030.00516.74
8.0.50.0050.00316.86
8.0.30.0020.00616.83
8.0.20.0040.00516.92
8.0.10.0030.00517.02
7.4.330.0000.00615.55
7.4.320.0070.00016.60
7.4.300.0030.00316.57
7.4.290.0040.00316.42
7.4.280.0030.00616.52
7.4.270.0010.00616.43
7.4.260.0030.00616.50
7.4.250.0040.00316.56
7.4.240.0010.00616.50
7.4.230.0060.00216.56
7.4.220.0040.00416.42
7.4.210.0000.00716.43
7.4.200.0040.00316.36
7.4.190.0000.00716.57
7.4.180.0020.00416.61
7.4.160.0020.00516.53
7.4.150.0030.00316.47
7.4.140.0020.00516.25
7.4.130.0030.00316.48
7.4.120.0030.00316.46
7.4.110.0050.00216.36
7.4.100.0050.00216.41
7.4.90.0030.00316.33
7.4.80.0020.00516.34
7.4.70.0020.00516.36
7.4.60.0050.00216.43
7.4.50.0020.00616.22
7.4.40.0060.00216.42
7.4.30.0050.00316.29
7.4.20.0030.00416.33
7.4.10.0030.00516.42
7.4.00.0030.00516.46

preferences:
74.67 ms | 403 KiB | 5 Q