3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 5; $i++) { if ($i == 2) continue echo "$i\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)
7.0.20.0370.05020.24
7.0.10.0130.07720.11
7.0.00.0100.04020.24
5.6.170.0230.05720.56
5.6.160.0030.04020.46
5.6.150.0100.04718.15
5.6.140.0030.05318.19
5.6.130.0030.04018.21
5.6.120.0130.04721.12
5.6.110.0170.07021.02
5.6.100.0130.03720.99
5.6.90.0170.03720.92
5.6.80.0130.06020.48
5.5.310.0270.03720.18
5.5.300.0030.04017.94
5.5.290.0130.07317.98
5.5.280.0070.09020.86
5.5.270.0070.07320.76
5.5.260.0000.04320.76
5.5.250.0030.08320.66
5.5.240.3300.03320.25

preferences:
143.76 ms | 1398 KiB | 8 Q