3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xy = microtime(true); $n = 10000; while (--$n) { $a = 'hello, world!'; } // multiplication and formatting do not count as they go after the subtraction echo ("\nExecution took: " . number_format((microtime(true) - $xy) * 1000000, 0, '.', '') . " microsecond(s).\n");

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.3.10.0070.00716.45
7.3.00.0080.00416.67
7.2.130.0090.00617.04
7.2.120.0040.01116.99
7.2.110.0040.01216.92
7.2.100.0040.01217.05
7.2.90.0040.01217.00
7.2.80.0100.00316.93
7.2.70.0120.00316.70
7.2.60.0070.00716.84
7.2.50.0110.00416.86
7.2.40.0030.01616.88
7.2.30.0030.01316.87
7.2.20.0000.01816.79
7.2.10.0030.00716.90
7.2.00.0050.00918.06
7.1.250.0120.00315.92

preferences:
32.16 ms | 401 KiB | 5 Q