3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 1, PHP_EOL; while (1) { echo 2, PHP_EOL; while (1) { echo 3, PHP_EOL; while (1) { echo 4, PHP_EOL; while (1) { echo 5, PHP_EOL; while (1) { echo 6, PHP_EOL; while (1) { break rand() % 5; } } } } } }

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.6.150.0070.05718.18
5.6.140.0000.09318.15
5.6.130.0100.07718.18
5.6.120.0070.04021.12
5.6.110.0200.08021.13
5.6.100.0130.08320.98
5.6.90.0070.06321.13
5.6.80.0130.07320.36
5.5.300.0130.05717.98
5.5.290.0030.08018.00
5.5.280.0100.06320.65
5.5.270.0230.07320.73
5.5.260.0070.08020.74
5.5.250.0230.07020.68
5.5.240.0170.04020.15

preferences:
150.49 ms | 1146 KiB | 7 Q