3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = function() { throw new Exception; } try { $f(); } catch ( Exception $e ) { var_dump($e); }

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.390.0400.06018.75
5.4.380.0530.06718.57
5.4.370.0330.06018.84
5.4.360.0500.05318.51
5.4.350.0430.07318.75
5.4.340.0470.06018.75
5.4.320.0370.05718.75
5.4.310.0330.06318.56
5.4.300.0270.06318.84
5.4.290.0270.05718.74
5.4.280.0470.06318.76
5.4.270.0530.05318.72
5.4.260.0270.05718.73
5.4.250.0370.05018.55
5.4.240.0330.05318.83
5.4.230.0370.05018.52
5.4.220.0270.05718.75
5.4.210.0530.04318.55
5.4.200.0330.05716.57
5.4.190.0100.06718.68
5.4.180.0270.05718.82
5.4.170.0300.06318.51
5.4.160.0300.06718.68
5.4.150.0230.06318.45
5.4.140.0370.05316.32
5.4.130.0300.05316.26
5.4.120.0470.05316.21
5.4.110.0330.05316.46
5.4.100.0470.04016.29
5.4.90.0430.06316.30
5.4.80.0370.06316.31
5.4.70.0570.05316.27
5.4.60.0370.04016.27
5.4.50.0330.05016.25
5.4.40.0570.04016.39
5.4.30.0470.04716.23
5.4.20.0530.04716.16
5.4.10.0300.05316.26
5.4.00.0530.04715.75
5.3.290.0430.06014.83
5.3.280.0470.06014.57
5.3.270.0400.06714.63
5.3.260.0230.06014.63
5.3.250.0230.06014.63
5.3.240.0530.05014.55
5.3.230.0300.06714.63
5.3.220.0270.05314.59
5.3.210.0470.06014.62
5.3.200.0670.06014.69
5.3.190.0330.05714.66
5.3.180.0330.05014.61
5.3.170.0370.05314.67
5.3.160.0330.05314.61
5.3.150.0470.04314.60
5.3.140.0430.07014.76
5.3.130.0500.06714.62
5.3.120.0370.07314.71
5.3.110.0600.06714.77
5.3.100.0500.06314.26
5.3.90.0300.06714.24
5.3.80.0300.05314.11
5.3.70.0330.05314.08
5.3.60.0430.05014.22
5.3.50.0470.04314.07
5.3.40.0270.05713.97
5.3.30.0300.05313.93
5.3.20.0430.05313.87
5.3.10.0370.07013.88
5.3.00.0400.07013.67
5.2.170.0470.05711.14
5.2.160.0270.06311.09
5.2.150.0630.04011.30
5.2.140.0330.05011.10
5.2.130.0300.06011.03
5.2.120.0330.03711.13
5.2.110.0370.04711.03
5.2.100.0430.05311.11
5.2.90.0200.04011.14
5.2.80.0300.04711.09
5.2.70.0130.05011.13
5.2.60.0200.05011.08
5.2.50.0270.04311.16
5.2.40.0270.04311.14
5.2.30.0130.05010.89
5.2.20.0300.04010.93
5.2.10.0230.04010.91
5.2.00.0230.04310.81
5.1.60.0270.03310.11
5.1.50.0170.03310.02
5.1.40.0170.0409.95
5.1.30.0300.03710.35
5.1.20.0330.03310.33
5.1.10.0300.03010.14
5.1.00.0270.03310.17
5.0.50.0130.0279.38
5.0.40.0170.0339.38
5.0.30.0100.0509.38
5.0.20.0170.0339.38
5.0.10.0230.0309.38
5.0.00.0100.0479.38
4.4.90.0170.0139.38
4.4.80.0130.0239.38
4.4.70.0130.0209.38
4.4.60.0170.0239.38
4.4.50.0030.0279.38
4.4.40.0070.0409.38
4.4.30.0200.0279.38
4.4.20.0130.0379.38
4.4.10.0130.0339.38
4.4.00.0200.0379.38
4.3.110.0200.0279.38
4.3.100.0130.0309.38
4.3.90.0100.0339.38
4.3.80.0200.0409.38
4.3.70.0230.0239.38
4.3.60.0170.0239.38
4.3.50.0100.0309.38
4.3.40.0170.0379.38
4.3.30.0200.0179.38
4.3.20.0030.0279.38
4.3.10.0100.0209.38
4.3.00.0030.0207.21

preferences:
144.6 ms | 1394 KiB | 7 Q