3v4l.org

run code in 300+ PHP versions simultaneously
<?php $loopCond = true; while ($loopCond = true){ //Echo your message that the loop is running below echo <p> The loop is running </p>; $loopCond = false; } echo "<p>And now it's done.</p>"; ?>

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)
5.4.240.0070.07719.21
5.4.230.0070.07019.13
5.4.220.0030.03718.98
5.4.210.0030.07318.98
5.4.200.0070.05319.14
5.4.190.0000.08019.08
5.4.180.0000.05019.30
5.4.170.0030.07318.86
5.4.160.0030.05718.98
5.4.150.0030.04019.30
5.4.140.0100.05016.50
5.4.130.0000.07016.34
5.4.120.0100.06316.29
5.4.110.0100.04716.54
5.4.100.0030.06716.54
5.4.90.0000.06716.51
5.4.80.0100.04716.38
5.4.70.0030.05316.50
5.4.60.0000.07716.49
5.4.50.0000.07316.42
5.4.40.0030.04316.51
5.4.30.0130.02716.53
5.4.20.0030.05016.34
5.4.10.0000.04716.42
5.4.00.0070.03315.86
5.3.280.0030.04314.54
5.3.270.0070.03714.46
5.3.260.0000.07314.51
5.3.250.0030.05314.49
5.3.240.0000.05314.47
5.3.230.0000.07014.58
5.3.220.0030.05714.52
5.3.210.0030.06014.63
5.3.200.0070.07014.50
5.3.190.0000.07314.66
5.3.180.0030.07314.50
5.3.170.0200.05014.40
5.3.160.0030.04314.40
5.3.150.0030.07714.65
5.3.140.0070.06314.52
5.3.130.0000.05014.59
5.3.120.0070.04714.51
5.3.110.0000.05714.64
5.3.100.0000.08014.00
5.3.90.0000.04713.98
5.3.80.0000.07013.90
5.3.70.0070.07013.85
5.3.60.0030.06313.84
5.3.50.0000.05713.80
5.3.40.0030.06713.89
5.3.30.0000.07313.85
5.3.20.0030.04013.63
5.3.10.0030.04313.50
5.3.00.0030.07313.66

preferences:
136.56 ms | 1394 KiB | 7 Q