3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strOrFalse() { } x = ""; y = "foo"; z = x || y ?>

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.20.0270.03316.44
5.4.10.0270.03716.48
5.4.00.0430.05315.96
5.3.120.0370.03714.63
5.3.110.0230.06014.63
5.3.100.0300.06314.05
5.3.90.0330.04313.93
5.3.80.0270.04014.13
5.3.70.0200.05013.91
5.3.60.0200.04313.91
5.3.50.0270.03013.88
5.3.40.0300.06313.86
5.3.30.0270.03713.88
5.3.20.0270.03713.91
5.3.10.0370.04013.63
5.3.00.0370.05313.71

preferences:
143.62 ms | 1394 KiB | 7 Q