3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Concrete5_Problems_Handler { private static $handled = false; public static handleException($e) { if(self::$handled) { return; } self::$handled = true; echo "\n######### " . __FUNCTION__ . "() called #########\n"; } public static handleShutdown($e) { if(self::$handled) { return; } self::$handled = true; echo "\n######### " . __FUNCTION__ . "() called #########\n"; } } set_exception_handler('Concrete5_Problems_Handler::handleException'); register_shutdown_function('Concrete5_Problems_Handler::handleShutdown'); throw new Exception('x');

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.4.250.0070.05718.75
5.4.240.0100.05719.00
5.4.230.0070.06019.10
5.4.220.0070.06019.01
5.4.210.0200.05318.97
5.4.200.0100.04718.77
5.4.190.0070.05718.80
5.4.180.0100.06719.04
5.4.170.0100.05319.04
5.4.160.0130.06318.79
5.4.150.0130.05019.08
5.4.140.0170.04316.30
5.4.130.0100.04716.49
5.4.120.0070.05716.33
5.4.110.0070.05716.56
5.4.100.0100.05016.33
5.4.90.0030.05716.52
5.4.80.0100.06716.47
5.4.70.0100.04716.47
5.4.60.0100.07716.45
5.4.50.0030.05716.59
5.4.40.0170.05016.36
5.4.30.0100.04316.42
5.4.20.0200.03716.45
5.4.10.0030.05716.33
5.4.00.0070.05315.86
5.3.280.0130.05314.59
5.3.270.0130.05014.69
5.3.260.0070.05714.69
5.3.250.0030.06014.78
5.3.240.0000.06014.78
5.3.230.0100.07014.51
5.3.220.0030.08014.56
5.3.210.0070.06014.39
5.3.200.0130.04714.63
5.3.190.0170.04714.54
5.3.180.0170.05714.54
5.3.170.0130.05014.78
5.3.160.0200.06014.39
5.3.150.0130.04314.71
5.3.140.0130.07014.46
5.3.130.0030.05714.62
5.3.120.0170.06014.68
5.3.110.0030.06014.68
5.3.100.0030.05714.19
5.3.90.0030.05014.08
5.3.80.0000.05713.99
5.3.70.0100.04314.24
5.3.60.0130.04013.82
5.3.50.0030.05014.12
5.3.40.0100.06314.03
5.3.30.0000.06013.98
5.3.20.0130.04313.70
5.3.10.0130.04313.82
5.3.00.0130.04713.46

preferences:
145.02 ms | 1398 KiB | 7 Q