3v4l.org

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

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.2.60.0030.01217.10
7.2.00.0130.01319.41
7.1.200.0030.01015.99
7.1.100.0000.01118.15
7.1.70.0080.00817.22
7.1.60.0120.00919.18
7.1.50.0070.01817.17
7.1.00.0070.07322.40
7.0.200.0710.00014.67
7.0.60.0030.04019.90
7.0.50.0070.03717.79
7.0.40.0030.04320.06
7.0.30.0170.04020.22
7.0.20.0230.04320.18
7.0.10.0030.04320.16
7.0.00.0030.04020.31
5.6.280.0030.07321.09
5.6.210.0070.03720.62
5.6.200.0000.07018.20
5.6.190.0100.03720.67
5.6.180.0400.06720.39
5.6.170.0300.08720.54
5.6.160.0100.08320.38
5.6.150.0030.04718.19
5.6.140.0030.03718.12
5.6.130.0070.03718.11
5.6.120.0100.06720.98
5.6.110.0030.05021.12
5.6.100.0070.05721.07
5.6.90.0070.08320.96
5.6.80.0100.07320.52
5.6.70.2030.02020.38
5.5.350.0070.08020.29
5.5.340.0030.08317.95
5.5.330.0070.08320.46
5.5.320.0370.07020.13
5.5.310.0200.04720.27
5.5.300.0000.04017.89
5.5.290.0030.06317.97
5.5.280.0030.07720.73
5.5.270.0100.08020.83
5.5.260.0030.08720.96
5.5.250.0170.07020.68
5.5.240.0200.07320.25
5.4.450.1070.07719.55
5.4.440.0770.05719.53
5.4.430.0670.05319.62
5.4.420.0670.05019.60
5.4.410.0630.05019.49
5.4.400.0600.05319.16
5.4.390.0670.04719.11
5.4.380.0830.04718.89
5.4.370.0770.04019.14
5.4.360.0630.05718.77
5.4.350.0600.05318.77
5.4.340.0730.04718.94
5.4.320.0600.05719.14
5.4.310.0600.05319.16
5.4.300.0770.04019.11
5.4.290.0570.06018.99
5.4.280.0730.05019.24
5.4.270.0630.05019.29
5.4.260.0630.05719.20
5.4.250.0730.04719.23
5.4.240.0700.05019.13
5.4.230.0630.06019.20
5.4.220.0670.05318.98
5.4.210.0570.05719.11
5.4.200.0570.05716.89
5.4.190.0800.05719.09
5.4.180.0970.04718.93
5.4.170.0870.05719.10
5.4.160.0800.05319.06
5.4.150.0630.05319.26
5.4.140.0670.05016.50
5.4.130.0830.05016.50
5.4.120.0730.05016.39
5.4.110.0930.05716.52
5.4.100.0830.04716.33
5.4.90.0870.05016.36
5.4.80.0800.05316.31
5.4.70.0770.05716.33
5.4.60.0870.04716.11
5.4.50.0570.05316.45
5.4.40.0630.05716.46
5.4.30.0770.03716.39
5.4.20.0670.04316.24
5.4.10.0730.05016.19
5.4.00.0670.04715.81
5.3.290.0670.04714.55
5.3.280.0700.05014.54
5.3.270.0900.04714.39
5.3.260.0630.06314.45
5.3.250.0770.04014.70
5.3.240.0670.04714.45
5.3.230.0570.05714.55
5.3.220.0970.04314.41
5.3.210.0570.06014.52
5.3.200.0670.05014.55
5.3.190.0730.04714.52
5.3.180.0630.05714.57
5.3.170.0800.05014.44
5.3.160.0770.05014.50
5.3.150.0700.06014.40
5.3.140.0800.04714.39
5.3.130.0530.06314.56
5.3.120.0700.05014.48
5.3.110.0630.06014.39
5.3.100.0570.05713.99
5.3.90.0730.04313.97
5.3.80.0630.05313.96
5.3.70.0730.04014.00
5.3.60.0600.05013.85
5.3.50.0730.03713.75
5.3.40.0600.05713.83
5.3.30.0600.05313.77
5.3.20.0630.04713.64
5.3.10.0600.04713.45
5.3.00.0730.04013.65
5.2.170.0570.03711.16
5.2.160.0500.04311.09
5.2.150.0570.03710.98
5.2.140.0600.04711.08
5.2.130.0670.03310.95
5.2.120.0670.03711.27
5.2.110.0630.04311.04
5.2.100.0700.04010.95
5.2.90.0630.03711.12
5.2.80.0730.04010.94
5.2.70.0730.04311.03
5.2.60.0030.04711.14
5.2.50.0070.04310.85
5.2.40.0100.04710.83
5.2.30.0030.04310.98
5.2.20.0330.03310.84
5.2.10.0700.03310.76
5.2.00.0500.04310.62
5.1.60.0430.0309.91
5.1.50.0370.04010.07
5.1.40.0400.0339.86
5.1.30.0430.04310.32
5.1.20.0530.04310.25
5.1.10.0430.0339.99
5.1.00.0470.04010.04
5.0.50.0270.0378.79
5.0.40.0230.0338.79
5.0.30.0230.0408.79
5.0.20.0170.0308.79
5.0.10.0230.0408.79
5.0.00.0230.0408.79
4.4.90.0130.0278.79
4.4.80.0170.0238.79
4.4.70.0170.0208.79
4.4.60.0170.0308.79
4.4.50.0100.0238.79
4.4.40.0000.0378.79
4.4.30.0000.0238.79
4.4.20.0000.0238.79
4.4.10.0070.0178.79
4.4.00.0000.0378.79
4.3.110.0070.0178.79
4.3.100.0030.0308.79
4.3.90.0070.0208.79
4.3.80.0330.0408.79
4.3.70.0300.0208.79
4.3.60.0270.0308.79
4.3.50.0370.0278.79
4.3.40.0170.0378.79
4.3.30.0170.0308.79
4.3.20.0170.0208.79
4.3.10.0100.0278.79
4.3.00.0170.0237.07