3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = getDate(); $testName = $test[year] + $test[hour]; echo($testName);
based on AoZHA

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0070.00716.66
7.3.00.0030.00616.47
7.2.130.0060.00617.00
7.2.120.0060.00617.10
7.2.110.0070.00717.05
7.2.100.0030.00617.14
7.2.90.0060.01017.22
7.2.80.0070.00317.07
7.2.70.0000.00917.17
7.2.60.0050.01016.92
7.2.50.0080.00817.09
7.2.40.0040.01116.86
7.2.30.0030.01416.59
7.2.20.0000.01816.54
7.2.10.0090.00016.89
7.2.00.0170.00517.96
7.1.250.0000.01215.94
7.1.200.0040.00715.70
7.1.100.0000.00918.02
7.1.70.0000.01117.29
7.1.60.0090.00319.18
7.1.50.0070.01616.75
7.1.00.0070.07322.44
7.0.200.0310.00314.86
7.0.60.0030.04020.04
7.0.50.0070.06717.82
7.0.40.0100.06719.89
7.0.30.0230.03320.13
7.0.20.0300.03320.18
7.0.10.0030.04720.17
7.0.00.0100.03720.08
5.6.280.0000.07320.81
5.6.210.0070.07720.45
5.6.200.0100.07718.22
5.6.190.0030.06320.75
5.6.180.0270.04320.39
5.6.170.0230.07320.33
5.6.160.0100.03720.49
5.6.150.0030.05018.16
5.6.140.0070.08318.10
5.6.130.0030.05718.09
5.6.120.0130.08321.02
5.6.110.0100.06020.98
5.6.100.0070.03721.10
5.6.90.0100.08020.87
5.6.80.0200.06720.52
5.5.350.0170.05320.30
5.5.340.0130.05718.02
5.5.330.0130.06320.43
5.5.320.0300.07320.30
5.5.310.0300.07320.30
5.5.300.0130.04318.01
5.5.290.0100.08017.91
5.5.280.0100.05020.79
5.5.270.0100.04320.72
5.5.260.0170.05720.75
5.5.250.0030.04020.57
5.5.240.0030.08020.18
5.4.450.0830.05719.57
5.4.440.0530.06719.57
5.4.430.0730.07719.61
5.4.420.0800.05719.61
5.4.410.0700.06319.49
5.4.400.0730.05719.12
5.4.390.0670.06018.78
5.4.380.0730.05019.21
5.4.370.0770.05319.04
5.4.360.0770.05018.89
5.4.350.0730.05019.24
5.4.340.0700.06319.21
5.4.320.0670.05318.89
5.4.310.0670.04719.18
5.4.300.0570.05719.16
5.4.290.0870.05018.78
5.4.280.0700.06719.13
5.4.270.0570.05719.29
5.4.260.0870.06018.94
5.4.250.0800.05318.76
5.4.240.0870.04718.78
5.4.230.0600.05319.20
5.4.220.0670.05719.23
5.4.210.0730.05319.26
5.4.200.0570.05016.60
5.4.190.0770.04319.19
5.4.180.0700.04718.79
5.4.170.0670.05319.18
5.4.160.0730.04718.90
5.4.150.0600.05719.16
5.4.140.0800.05316.40
5.4.130.0630.04716.49
5.4.120.0630.03716.57
5.4.110.0600.05016.51
5.4.100.0770.04016.43
5.4.90.0500.06016.39
5.4.80.0800.06016.38
5.4.70.1030.05716.41
5.4.60.0700.04716.29
5.4.50.0700.04016.22
5.4.40.0700.04316.34
5.4.30.0500.06016.23
5.4.20.0670.05016.29
5.4.10.0630.04716.29
5.4.00.0700.04015.73
5.3.290.0670.06014.50
5.3.280.0530.06014.43
5.3.270.0700.04314.45
5.3.260.0700.04714.56
5.3.250.0630.05014.43
5.3.240.0670.04714.62
5.3.230.0730.05714.55
5.3.220.0630.06014.52
5.3.210.0770.05014.43
5.3.200.0900.05314.52
5.3.190.0600.05714.41
5.3.180.0700.06014.66
5.3.170.0800.06014.51
5.3.160.0930.05714.41
5.3.150.0670.06014.66
5.3.140.0730.04714.50
5.3.130.0730.06014.53
5.3.120.0530.06314.56
5.3.110.0700.05014.50
5.3.100.0630.04714.05
5.3.90.0730.04713.86
5.3.80.0630.04013.90
5.3.70.0470.05713.86
5.3.60.0100.05313.80
5.3.50.0100.05313.74
5.3.40.0570.05713.71
5.3.30.0430.05313.79
5.3.20.0470.05713.58
5.3.10.0730.05313.43
5.3.00.0270.05013.62
5.2.170.0100.04311.13
5.2.160.0470.04011.04
5.2.150.0470.05011.00
5.2.140.0500.03311.16
5.2.130.0070.04311.06
5.2.120.0500.03710.99
5.2.110.0500.03710.93
5.2.100.0600.04010.95
5.2.90.0430.04011.04
5.2.80.0500.04711.04
5.2.70.0570.04010.89
5.2.60.0330.05010.89
5.2.50.0470.04711.03
5.2.40.0270.05010.93
5.2.30.0100.04011.05
5.2.20.0130.04311.11
5.2.10.0400.04010.91
5.2.00.0400.05010.77
5.1.60.0300.0439.87
5.1.50.0330.0379.82
5.1.40.0400.03310.12
5.1.30.0300.03010.24
5.1.20.0000.04310.36
5.1.10.0200.0379.94
5.1.00.0400.0379.99
5.0.50.0330.0278.79
5.0.40.0270.0278.79
5.0.30.0330.0508.79
5.0.20.0270.0378.79
5.0.10.0330.0408.79
5.0.00.0400.0438.79
4.4.90.0230.0208.79
4.4.80.0230.0208.79
4.4.70.0330.0208.79
4.4.60.0130.0238.79
4.4.50.0270.0238.79
4.4.40.0300.0338.79
4.4.30.0230.0238.79
4.4.20.0230.0238.79
4.4.10.0270.0238.79
4.4.00.0230.0378.79
4.3.110.0270.0208.79
4.3.100.0200.0278.79
4.3.90.0230.0308.79
4.3.80.0200.0408.79
4.3.70.0200.0208.79
4.3.60.0230.0278.79
4.3.50.0200.0238.79
4.3.40.0200.0508.79
4.3.30.0300.0238.79
4.3.20.0030.0278.79
4.3.10.0070.0308.79
4.3.00.0130.0207.07