3v4l.org

run code in 300+ PHP versions simultaneously
<?php $elseif = '0'; if ($elseif) echo 'error'; elseif ($elseif === '0') echo 'ok';

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.130.0040.00416.36
8.3.120.0130.01015.86
8.3.110.0240.00016.04
8.3.100.0200.00516.09
8.3.90.0150.01216.14
8.3.80.0200.00716.44
8.3.70.0240.00316.25
8.3.60.0200.00515.97
8.3.50.0170.00816.40
8.3.40.0170.00617.16
8.3.30.0180.00617.10
8.3.20.0180.00417.34
8.3.10.0190.00217.27
8.3.00.0200.00317.25
8.2.250.0000.00816.64
8.2.240.0170.00716.15
8.2.230.0130.00918.05
8.2.220.0200.00316.08
8.2.210.0140.01117.98
8.2.200.0130.00716.17
8.2.190.0180.00416.32
8.2.180.0190.00316.48
8.2.170.0170.00617.40
8.2.160.0130.01017.46
8.2.150.0180.00517.41
8.2.140.0190.00519.24
8.2.130.0220.00317.19
8.2.120.0240.00017.48
8.2.110.0170.00617.45
8.2.100.0200.00317.55
8.2.90.0180.00517.34
8.2.80.0090.01417.05
8.2.70.0170.00617.10
8.2.60.0210.00417.43
8.2.50.0240.00517.09
8.2.40.0210.00019.11
8.2.30.0210.00017.26
8.2.20.0160.00617.25
8.2.10.0110.01117.21
8.2.00.0100.01017.20
8.1.300.0070.00415.83
8.1.290.0140.00715.86
8.1.280.0190.00315.95
8.1.270.0090.01217.29
8.1.260.0200.00416.97
8.1.250.0110.01617.32
8.1.240.0160.00317.11
8.1.230.0130.00318.95
8.1.220.0110.00716.79
8.1.210.0140.00716.81
8.1.200.0130.00716.86
8.1.190.0160.00416.81
8.1.180.0170.00316.95
8.1.170.0140.00616.95
8.1.160.0110.00916.71
8.1.150.0100.01016.95
8.1.140.0120.01216.96
8.1.130.0200.00016.97
8.1.120.0130.00617.04
8.1.110.0180.00316.84
8.1.100.0150.00516.84
8.1.90.0120.00816.80
8.1.80.0190.00316.88
8.1.70.0130.00417.02
8.1.60.0180.00317.23
8.1.50.0090.00917.17
8.1.40.0210.00017.30
8.1.30.0110.00717.23
8.1.20.0160.00617.32
8.1.10.0160.00517.09
8.1.00.0130.00717.11

preferences:
25.13 ms | 403 KiB | 5 Q