3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Test Source function Test5_2() { /* The Test */ $t = microtime(true); $i = 0; while($i < 1000000) ++$i; return (microtime(true) - $t); } Test5_2()

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.100.0090.03912.01
5.4.90.0110.04812.01
5.4.80.0080.04412.01
5.4.70.0080.03812.00
5.4.60.0100.03812.00
5.4.50.0090.03812.00
5.4.40.0090.03811.99
5.4.30.0110.04611.99
5.4.20.0090.03711.99
5.4.10.0100.03711.99
5.4.00.0080.04111.48
5.3.200.0080.04112.68
5.3.190.0140.03812.67
5.3.180.0160.03512.67
5.3.170.0110.04112.67
5.3.160.0150.04512.67
5.3.150.0100.04112.67
5.3.140.0120.03912.66
5.3.130.0100.04212.66
5.3.120.0100.04412.66
5.3.110.0100.05212.66
5.3.100.0090.04012.12
5.3.90.0110.03912.09
5.3.80.0080.04212.08
5.3.70.0110.04112.08
5.3.60.0130.04012.07
5.3.50.0110.04912.01
5.3.40.0120.04012.01
5.3.30.0120.03711.97
5.3.20.0080.04111.75
5.3.10.0090.04011.72
5.3.00.0090.04411.70

preferences:
139.26 ms | 1394 KiB | 7 Q