3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('2000-01-01'); echo $date->format('çk'); ?>
based on lp2qV

Here you find the average performance (time & memory) of each version. A greyed 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.00.0040.00819.45
7.1.100.0040.00718.10
7.1.70.0030.01016.95
7.1.60.0060.01619.59
7.1.50.0090.01616.85
7.1.00.0030.07722.51
7.0.200.0000.00816.99
7.0.60.0130.08019.80
7.0.50.0030.04317.66
7.0.40.0070.05320.07
7.0.30.0270.07020.21
7.0.20.0330.07320.18
7.0.10.0070.05320.32
7.0.00.0070.04020.12
5.6.280.0070.05021.02
5.6.210.0030.06720.71
5.6.200.0070.03718.09
5.6.190.0030.04320.33
5.6.180.3700.03320.64
5.6.170.0330.03020.48
5.6.160.0130.06720.38
5.6.150.0030.05318.12
5.6.140.0070.05318.27
5.6.130.0070.08018.10
5.6.120.0070.08320.89
5.6.110.0000.04320.98
5.6.100.0170.08020.88
5.6.90.0130.08020.99
5.6.80.0200.06720.38
5.6.70.0200.04020.34
5.5.350.3530.04320.46
5.5.340.0100.06318.00
5.5.330.0070.06720.20
5.5.320.0400.07320.31
5.5.310.0170.04720.18
5.5.300.0070.05317.96
5.5.290.0070.05017.94
5.5.280.0070.04720.90
5.5.270.0100.06320.96
5.5.260.0100.06320.79
5.5.250.0070.07020.68
5.5.240.0330.07020.36
5.4.450.0870.05319.26
5.4.440.0870.05319.45
5.4.430.0870.05719.27
5.4.420.0770.05319.08
5.4.410.0200.05719.14
5.4.400.0570.05318.94
5.4.390.1070.07018.97
5.4.380.0830.07018.97
5.4.370.1000.06019.15
5.4.360.0930.07718.93
5.4.350.0970.06318.96
5.4.340.0830.06019.11
5.4.320.0170.06319.12
5.4.310.0630.06319.08
5.4.300.0870.06718.94
5.4.290.0930.05018.97
5.4.280.0700.06718.71
5.4.270.0900.05018.94
5.4.260.0830.06718.97
5.4.250.0900.05019.08
5.4.240.0970.06018.76
5.4.230.0930.04318.78
5.4.220.0770.05018.95
5.4.210.0830.06318.92
5.4.200.0630.06316.89
5.4.190.0800.04318.95
5.4.180.0800.05319.11
5.4.170.0670.06318.95
5.4.160.0970.04019.05
5.4.150.0770.06318.67
5.4.140.0700.06016.55
5.4.130.0800.04716.35
5.4.120.0930.04716.26
5.4.110.0630.07316.43
5.4.100.0730.07016.43
5.4.90.0830.05016.38
5.4.80.0770.05016.24
5.4.70.0870.06316.29
5.4.60.0800.05316.41
5.4.50.0970.04316.38
5.4.40.0900.05016.26
5.4.30.0930.04016.40
5.4.20.0870.04716.40
5.4.10.0600.07016.27
5.4.00.0830.06015.71
5.3.290.0970.06714.55
5.3.280.1170.04014.53
5.3.270.1100.07314.41
5.3.260.1070.05014.49
5.3.250.1170.05714.41
5.3.240.1000.06314.55
5.3.230.1070.05314.48
5.3.220.0800.05314.45
5.3.210.0870.05314.33
5.3.200.0800.06314.37
5.3.190.0700.05714.37
5.3.180.0670.06314.37
5.3.170.0930.04714.45
5.3.160.0770.05714.40
5.3.150.1070.07314.32
5.3.140.1030.05714.50
5.3.130.1030.05014.49
5.3.120.0730.06014.29
5.3.110.0730.07314.31
5.3.100.0030.07013.99
5.3.90.0500.07013.79
5.3.80.0830.05713.82
5.3.70.0770.05013.78
5.3.60.0900.06013.89
5.3.50.0970.04713.98
5.3.40.1000.06013.68
5.3.30.0800.06013.73
5.3.20.0730.04713.58
5.3.10.0930.06713.48
5.3.00.0670.08013.67
5.2.170.0900.04011.18
5.2.160.0800.05310.89
5.2.150.0600.05011.03
5.2.140.0570.04011.20
5.2.130.0500.05010.85
5.2.120.0630.04011.12
5.2.110.0870.03710.97
5.2.100.0870.06010.99
5.2.90.0670.04710.85
5.2.80.0700.05010.88
5.2.70.0870.04010.97
5.2.60.0770.04310.92
5.2.50.0870.04710.90
5.2.40.0700.06010.86
5.2.30.0770.05010.86
5.2.20.0800.04010.84
5.2.10.0600.03710.80
5.2.00.0500.03710.75
5.1.60.0700.0239.98
5.1.50.0430.0579.86
5.1.40.0700.0339.82
5.1.30.0570.05310.28
5.1.20.0570.04310.14
5.1.10.0630.0509.99
5.1.00.0570.0509.96
5.0.50.0370.0308.41
5.0.40.0430.0438.20
5.0.30.0200.0608.12
5.0.20.0330.0338.16
5.0.10.0270.0438.09
5.0.00.0300.0538.19
4.4.90.0300.0275.75
4.4.80.0330.0205.71
4.4.70.0400.0205.79
4.4.60.0430.0235.73
4.4.50.0330.0235.86
4.4.40.0430.0305.81
4.4.30.0500.0175.75
4.4.20.0400.0235.88
4.4.10.0400.0135.84
4.4.00.0330.0475.83
4.3.110.0200.0335.69
4.3.100.0430.0205.71
4.3.90.0430.0305.69
4.3.80.0400.0405.82
4.3.70.0170.0235.77
4.3.60.0230.0235.72
4.3.50.0430.0235.72
4.3.40.0330.0335.68
4.3.30.0130.0234.39
4.3.20.0170.0304.45
4.3.10.0170.0304.35
4.3.00.0130.0206.98