3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<10000000;$i+) { }

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.50.0030.07716.38
5.4.40.0100.07016.43
5.4.30.0070.03716.31
5.4.20.0070.07316.34
5.4.10.0030.05716.40
5.4.00.0100.06015.87
5.3.150.0100.07314.50
5.3.140.0030.05314.48
5.3.130.0070.03714.37
5.3.120.0000.04314.64
5.3.110.0070.07314.48
5.3.100.0100.05313.86
5.3.90.0030.04714.01
5.3.80.0000.04713.94
5.3.70.0100.07013.82
5.3.60.0030.05713.98
5.3.50.0070.07313.92
5.3.40.0070.06713.88
5.3.30.0000.04013.73
5.3.20.0100.05713.62
5.3.10.0030.04713.62
5.3.00.0130.06313.61

preferences:
138 ms | 1394 KiB | 7 Q