3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { const true = 123; var_dump(true); }

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.380.0130.06018.68
5.4.370.0230.05018.59
5.4.360.0100.06318.71
5.4.350.0230.05018.60
5.4.340.0200.05318.66
5.4.320.0200.05318.46
5.4.310.0170.05318.50
5.4.300.0170.05718.55
5.4.290.0070.06018.66
5.4.280.0200.05718.75
5.4.270.0170.05318.66
5.4.260.0130.05318.66
5.4.250.0130.06318.49
5.4.240.0170.06018.62
5.4.230.0200.07318.67
5.4.220.0230.07318.49
5.4.210.0230.07018.60
5.4.200.0130.07716.70
5.4.190.0370.05718.53
5.4.180.0170.06718.57
5.4.170.0170.06318.65
5.4.160.0270.05718.63
5.4.150.0300.06018.52
5.4.140.0130.07016.25
5.4.130.0170.07716.15
5.4.120.0230.05016.27
5.4.110.0100.06316.25
5.4.100.0270.04716.16
5.4.90.0200.05716.35
5.4.80.0170.05716.30
5.4.70.0230.06016.26
5.4.60.0230.06716.10
5.4.50.0230.07016.20
5.4.40.0330.06316.21
5.4.30.0200.07016.27
5.4.20.0330.04316.30
5.4.10.0200.06016.13
5.4.00.0230.06315.57
5.3.290.0230.06314.69
5.3.280.0200.05314.52
5.3.270.0170.05714.69
5.3.260.0300.06714.60
5.3.250.0270.05014.57
5.3.240.0300.04314.59
5.3.230.0170.06014.57
5.3.220.0230.05314.54
5.3.210.0200.05314.57
5.3.200.0230.06014.48
5.3.190.0270.07014.52
5.3.180.0270.06714.47
5.3.170.0300.06714.53
5.3.160.0330.06314.47
5.3.150.0200.07714.66
5.3.140.0200.07714.46
5.3.130.0170.06014.52
5.3.120.0100.06314.52
5.3.110.0270.07014.52
5.3.100.0430.05014.13
5.3.90.0270.04713.96
5.3.80.0130.05713.98
5.3.70.0130.05714.00
5.3.60.0300.04013.90
5.3.50.0300.04014.03
5.3.40.0170.05314.03
5.3.30.0200.04713.87
5.3.20.0300.04013.66
5.3.10.0330.05713.64
5.3.00.0270.05313.62
5.2.170.0130.04711.02
5.2.160.0230.03011.18
5.2.150.0130.04311.20
5.2.140.0170.04011.17
5.2.130.0230.03311.07
5.2.120.0100.04311.15
5.2.110.0070.05311.05
5.2.100.0230.05011.01
5.2.90.0200.04311.07
5.2.80.0100.04711.03
5.2.70.0030.05311.05
5.2.60.0100.05011.00
5.2.50.0230.04010.97
5.2.40.0100.04311.05
5.2.30.0200.04310.96
5.2.20.0200.03311.09
5.2.10.0100.04310.86
5.2.00.0170.03710.75
5.1.60.0100.03310.03
5.1.50.0130.04710.01
5.1.40.0170.03010.10
5.1.30.0130.04010.30
5.1.20.0170.03710.39
5.1.10.0130.04010.14
5.1.00.0200.03010.14
5.0.50.0100.0308.64
5.0.40.0030.0338.42
5.0.30.0030.0508.34
5.0.20.0030.0338.23
5.0.10.0130.0208.36
5.0.00.0130.0378.25
4.4.90.0100.0207.25
4.4.80.0100.0237.25
4.4.70.0100.0207.25
4.4.60.0100.0207.25
4.4.50.0100.0277.25
4.4.40.0130.0307.25
4.4.30.0070.0237.25
4.4.20.0000.0337.25
4.4.10.0130.0207.25
4.4.00.0070.0337.25
4.3.110.0030.0237.25
4.3.100.0100.0177.25
4.3.90.0070.0207.25
4.3.80.0070.0337.25
4.3.70.0030.0237.25
4.3.60.0000.0277.25
4.3.50.0070.0237.25
4.3.40.0100.0307.25
4.3.30.0030.0237.25
4.3.20.0030.0237.25
4.3.10.0030.0237.25
4.3.00.0070.0237.63

preferences:
151.03 ms | 939 KiB | 8 Q