3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('memory_limit', 2100000); function foo($i = 0) { print $i.PHP_EOL; foo($i + 1); $a = 2; } foo();

Abusive script

This script was stopped while abusing our resources

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)
8.5.30.0340.01119.58
8.4.180.0450.01320.94
8.3.00.0260.01219.35
8.2.300.0440.01319.30
8.1.340.0450.01318.97
8.1.330.0370.01017.70

preferences:
41.46 ms | 716 KiB | 5 Q