3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function(int $severity, string $message, string $filename, int $lineNumber) : void { throw new ErrorException($message, 0, $severity, $filename, $lineNumber); }); function test() : string { return $test; } test();

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.3.110.0060.00320.94
8.3.100.0120.00324.06
8.3.90.0070.00726.77
8.3.80.0050.00516.63
8.3.70.0120.00916.58
8.3.60.0160.00018.43
8.3.50.0080.00823.59
8.3.40.0100.00321.84
8.3.30.0110.00418.84
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0120.00928.09
8.2.230.0070.00322.58
8.2.220.0080.00037.54
8.2.210.0140.00026.77
8.2.200.0060.00316.75
8.2.190.0110.00716.58
8.2.180.0070.01025.92
8.2.170.0110.00419.09
8.2.160.0070.01422.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0040.00428.09
8.2.120.0040.00428.09
8.1.290.0070.00318.88
8.1.280.0120.00625.92
8.1.270.0080.00020.70
8.1.260.0070.00028.09
8.1.250.0040.00428.09
7.4.110.0100.00716.48
7.4.100.0100.00716.53
7.4.90.0090.00816.27
7.3.230.0070.01016.33
7.3.220.0100.00616.34
7.3.210.0120.00916.46
7.2.340.0100.00716.51
7.2.330.0120.00616.36

preferences:
58.29 ms | 650 KiB | 5 Q