3v4l.org

run code in 200+ php & hhvm versions
<?php $x = strtotime('2014-05-20 12:34'); echo date('Y-m-d H:i:s', $x);

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.0100.00316.73
7.2.00.0060.00619.48
7.1.200.0030.01015.91
7.1.100.0080.00318.00
7.1.70.0030.00917.16
7.1.60.0070.01819.40
7.1.50.0150.00617.17
7.1.00.0000.06722.31
7.0.200.0030.00516.66
7.0.140.0070.07322.12
7.0.120.0030.03022.03
7.0.100.0230.06019.99
7.0.90.0030.07019.88
7.0.80.0030.04319.92
7.0.70.0130.07720.12
7.0.60.0070.08719.94
7.0.50.0030.05020.29
7.0.40.0100.07319.95
7.0.30.0070.05320.05
7.0.20.0130.04320.10
7.0.10.0100.04020.09
7.0.00.0070.08720.04
5.6.280.0000.07721.09
5.6.250.0130.07020.61
5.6.240.0070.05320.61
5.6.230.0070.04020.68
5.6.220.0070.05020.71
5.6.210.0100.04320.45
5.6.200.0170.07321.03
5.6.190.0070.06721.05
5.6.180.0070.04320.94
5.6.170.0070.09021.03
5.6.160.0100.04721.01
5.6.150.0100.07721.07
5.6.140.0100.06021.04
5.6.130.0030.06721.10
5.6.120.0030.06020.99
5.6.110.0070.08021.09
5.6.100.0070.08321.05
5.6.90.0100.07020.93
5.6.80.0130.06320.55
5.6.70.0000.08320.47
5.6.60.0000.08020.38
5.6.50.0100.08020.42
5.6.40.0130.06720.29
5.6.30.0070.07020.40
5.6.20.0100.05720.39
5.6.10.0030.05720.36
5.6.00.0070.08320.45
5.5.380.0070.07320.43
5.5.370.0070.05020.38
5.5.360.0070.06020.47
5.5.350.0070.07020.41
5.5.340.0070.08720.79
5.5.330.0070.08720.63
5.5.320.0270.06020.63
5.5.310.0030.06020.82
5.5.300.0100.08020.82
5.5.290.0070.07720.91
5.5.280.0100.08020.75
5.5.270.0070.07320.86
5.5.260.0030.06320.84
5.5.250.0030.05020.71
5.5.240.0100.07720.11
5.5.230.0070.07720.13
5.5.220.0100.07720.25
5.5.210.0100.07720.13
5.5.200.0170.07020.18
5.5.190.0230.06020.25
5.5.180.0030.09320.12
5.5.160.0100.04320.25
5.5.150.0170.07320.17
5.5.140.0030.07720.10
5.5.130.0170.07020.26
5.5.120.0100.07320.25
5.5.110.0030.08020.23
5.5.100.0030.04020.16
5.5.90.0100.03720.05
5.5.80.0070.04020.08
5.5.70.0070.08020.12
5.5.60.0130.03720.13
5.5.50.0130.06720.09
5.5.40.0100.07019.91
5.5.30.0070.04320.06
5.5.20.0170.07020.01
5.5.10.0070.04320.00
5.5.00.0000.05320.06
5.4.450.0070.05319.45
5.4.440.0100.07319.38
5.4.430.0070.08319.37
5.4.420.0070.06319.10
5.4.410.0070.04319.34
5.4.400.0100.07319.23
5.4.390.0100.06718.90
5.4.380.0030.07718.90
5.4.370.0030.04319.09
5.4.360.0130.05019.20
5.4.350.0000.04719.11
5.4.340.0100.07318.96
5.4.320.0070.04719.12
5.4.310.0030.07018.96
5.4.300.0100.06018.90
5.4.290.0030.04719.05
5.4.280.0070.07319.03
5.4.270.0070.07719.14
5.4.260.0100.07019.09
5.4.250.0030.04018.80
5.4.240.0030.04319.02
5.4.230.0130.06018.97
5.4.220.0130.06018.97
5.4.210.0000.08319.14
5.4.200.0000.08319.02
5.4.190.0100.07719.16
5.4.180.0000.07019.13
5.4.170.0130.06719.09
5.4.160.0170.04319.12
5.4.150.0130.04718.95
5.4.140.0070.04016.41
5.4.130.0130.06316.17
5.4.120.0130.06716.33
5.4.110.0100.06316.36
5.4.100.0030.07716.39
5.4.90.0070.07016.29
5.4.80.0100.06016.40
5.4.70.0130.07016.25
5.4.60.0030.07016.28
5.4.50.0070.07016.40
5.4.40.0130.05716.29
5.4.30.0070.04016.40
5.4.20.0130.06316.28
5.4.10.0030.05316.41
5.4.00.0100.06315.78
5.3.290.0030.04714.62
5.3.280.0000.08314.58
5.3.270.0130.06314.46
5.3.260.0030.07014.59
5.3.250.0030.06714.42
5.3.240.0070.06714.56
5.3.230.0100.04014.47
5.3.220.0070.07314.55
5.3.210.0130.04014.51
5.3.200.0100.07314.52
5.3.190.0100.07714.51
5.3.180.0030.07714.56
5.3.170.0030.06014.54
5.3.160.0030.05314.52
5.3.150.0030.05314.42
5.3.140.0070.07714.56
5.3.130.0130.07014.54
5.3.120.0030.05014.39
5.3.110.0030.08314.50
5.3.100.0100.03714.00
5.3.90.0100.08014.02
5.3.80.0100.06313.94
5.3.70.0100.07013.97
5.3.60.0070.04713.88
5.3.50.0100.07013.70
5.3.40.0070.07713.93
5.3.30.0130.06313.84
5.3.20.0070.06713.59
5.3.10.0100.06013.65
5.3.00.0100.03713.41
5.2.170.0100.05311.63
5.2.160.0000.05011.63
5.2.150.0100.04011.63
5.2.140.0030.04011.63
5.2.130.0070.05011.63
5.2.120.0130.05311.63
5.2.110.0070.05711.63
5.2.100.0100.02711.63
5.2.90.0000.03711.63
5.2.80.0030.03311.63
5.2.70.0000.03711.63
5.2.60.0130.05711.63
5.2.50.0030.05311.63
5.2.40.0030.05011.63
5.2.30.0100.04711.63
5.2.20.0000.03011.63
5.2.10.0070.04711.63
5.2.00.0130.05011.63
5.1.60.0100.02311.63
5.1.50.0070.04311.63
5.1.40.0070.04711.63
5.1.30.0100.04011.63
5.1.20.0100.04711.63
5.1.10.0000.06311.63
5.1.00.0070.05311.63
5.0.50.0030.03711.63
5.0.40.0000.02711.63
5.0.30.0070.05711.63
5.0.20.0070.04011.63
5.0.10.0070.03711.63
5.0.00.0100.06711.63
4.4.90.0000.03011.63
4.4.80.0030.01711.63
4.4.70.0000.03011.63
4.4.60.0030.02711.63
4.4.50.0030.03311.63
4.4.40.0070.05011.63
4.4.30.0070.03011.63
4.4.20.0070.02311.63
4.4.10.0030.03311.63
4.4.00.0030.03711.63
4.3.110.0030.03311.63
4.3.100.0000.02711.63
4.3.90.0070.02711.63
4.3.80.0030.05311.63
4.3.70.0000.03311.63
4.3.60.0030.03311.63
4.3.50.0030.03311.63
4.3.40.0000.05311.63
4.3.30.0000.02311.63
4.3.20.0070.03011.63
4.3.10.0030.03311.63
4.3.00.0070.03011.63