3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 100000; $i++) { echo $i * rand(0, $i) . PHP_EOL; }

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)
7.1.100.1050.01315.98
7.1.90.1040.03015.74
7.1.80.0970.01716.29
7.1.70.1140.00715.18
7.1.60.1260.02033.14
7.1.50.0580.01433.09
7.1.40.1360.01932.81
7.1.30.1140.01632.68
7.1.20.1010.02232.93
7.0.240.1140.02515.83
7.0.230.1020.01715.82
7.0.220.0950.01715.41
7.0.210.1100.01714.86
7.0.200.1360.00414.98
7.0.190.1200.01814.86
7.0.180.1120.02714.46
7.0.170.1120.02414.42

preferences:
40.96 ms | 403 KiB | 5 Q