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.0200.07016.42
5.4.10.0170.04016.50
5.4.00.0130.04015.90
5.3.120.0270.06714.66
5.3.110.0130.04714.46
5.3.100.0270.04014.04
5.3.90.0200.04713.93
5.3.80.0200.04314.01
5.3.70.0230.07313.92
5.3.60.0230.07014.01
5.3.50.0200.05314.06
5.3.40.0230.04013.88
5.3.30.0270.06313.83
5.3.20.0200.06713.91
5.3.10.0130.03713.59
5.3.00.0200.07313.50

preferences:
138.21 ms | 1394 KiB | 7 Q