3v4l.org

run code in 300+ PHP versions simultaneously
<?php function myException($exception) { echo "<b>Exception:</b> " . $exception->getMessage(); } set_exception_handler('myException'); throw new Exception('Uncaught Exception occurred'); } ?>

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.320.0230.06319.22
5.4.310.0300.03018.95
5.4.300.0330.06719.09
5.4.290.0700.03318.87
5.4.280.0230.07319.19
5.4.270.0330.03719.01
5.4.260.0270.06718.96
5.4.250.0270.06719.08
5.4.240.0200.06719.15
5.4.230.0230.06318.94
5.4.220.0270.05718.93
5.4.210.0270.03018.85
5.4.200.0270.04319.11
5.4.190.0200.05018.97
5.4.180.0400.03719.16
5.4.170.0230.06019.30
5.4.160.0230.07019.14
5.4.150.0300.04319.05
5.4.140.0230.07316.37
5.4.130.0330.06016.38
5.4.120.0230.06716.46
5.4.110.0200.03716.56
5.4.100.0100.04316.28
5.4.90.0270.06016.27
5.4.80.0170.03316.50
5.4.70.0170.05716.56
5.4.60.0270.04316.43
5.4.50.0330.06016.33
5.4.40.0400.06016.23
5.4.30.0330.03316.55
5.4.20.0230.06716.53
5.4.10.0270.04316.23
5.4.00.0870.02715.88
5.3.290.0270.04014.68
5.3.280.0170.04314.50
5.3.270.0330.06014.57
5.3.260.0230.06014.68
5.3.250.0400.03014.59
5.3.240.0230.07014.76
5.3.230.0170.05014.75
5.3.220.0200.05714.57
5.3.210.0230.07714.47
5.3.200.0130.04314.72
5.3.190.0230.06314.79
5.3.180.0200.03714.49
5.3.170.0270.07014.54
5.3.160.0230.03314.64
5.3.150.0230.07714.58
5.3.140.0270.05314.53
5.3.130.0330.06314.45
5.3.120.0300.06314.60
5.3.110.0270.06014.57
5.3.100.0670.03314.09
5.3.90.0430.05713.92
5.3.80.0270.07714.03
5.3.70.0300.06314.13
5.3.60.0270.07314.24
5.3.50.0300.07313.94
5.3.40.0270.04713.99
5.3.30.0270.05713.89
5.3.20.0300.06313.61
5.3.10.0270.05013.77
5.3.00.0270.04713.71
5.2.170.0230.04011.07
5.2.160.0230.06011.05
5.2.150.0230.03711.04
5.2.140.0230.06011.05
5.2.130.0170.03711.19
5.2.120.0230.05311.26
5.2.110.0230.04311.10
5.2.100.0200.05311.10
5.2.90.0200.02711.11
5.2.80.0200.06010.99
5.2.70.0270.05711.17
5.2.60.0230.04710.95
5.2.50.0470.02710.92
5.2.40.0130.03010.92
5.2.30.0100.03710.88
5.2.20.0130.03011.07
5.2.10.0100.03310.86
5.2.00.0170.03010.83
5.1.60.0170.02310.18
5.1.50.0130.02710.14
5.1.40.0170.0209.89
5.1.30.0130.02310.29
5.1.20.0130.02710.28
5.1.10.0130.02310.07
5.1.00.0000.02710.14
5.0.50.0000.0239.80
5.0.40.0030.0209.80
5.0.30.0070.0409.80
5.0.20.0030.0309.80
5.0.10.0070.0209.80
5.0.00.0070.0309.80
4.4.90.0070.0379.80
4.4.80.0100.0139.80
4.4.70.0070.0179.80
4.4.60.0330.0139.80
4.4.50.0030.0179.80
4.4.40.0100.0239.80
4.4.30.0070.0139.80
4.4.20.0070.0179.80
4.4.10.0070.0179.80
4.4.00.0070.0239.80
4.3.110.0070.0179.80
4.3.100.0000.0139.80
4.3.90.0030.0179.80
4.3.80.0070.0239.80
4.3.70.0070.0139.80
4.3.60.0100.0109.80
4.3.50.0070.0179.80
4.3.40.0030.0279.80
4.3.30.0030.0139.80
4.3.20.0030.0139.80
4.3.10.0030.0139.80
4.3.00.0000.0209.80

preferences:
135.67 ms | 1398 KiB | 7 Q