3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sdate1 = '01.09.2012'; $sdate2 = '31.01.2013'; $date1 = new DateTime($sdate1); echo $date1;

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.0040.01116.63
7.3.00.0090.00616.96
7.2.130.0130.00316.91
7.2.120.0030.01017.05
7.2.110.0070.00317.03
7.2.100.0040.00816.91
7.2.90.0100.00616.81
7.2.80.0030.00917.19
7.2.70.0030.00917.02
7.2.60.0090.00317.04
7.2.50.0080.00817.15
7.2.40.0100.00717.04
7.2.30.0090.00616.93
7.2.20.0050.00517.04
7.2.10.0090.00617.06
7.2.00.0030.00918.34
7.1.250.0080.00015.88
7.1.200.0080.00415.38
7.1.100.0060.00618.13
7.1.70.0070.00717.33
7.1.60.0100.00619.82
7.1.50.0030.01016.75
7.1.00.0030.07722.31
7.0.200.0070.00716.63
7.0.140.0070.07021.95
7.0.60.0070.08720.00
7.0.50.0070.05317.66
7.0.40.0030.05020.07
7.0.30.0370.05720.30
7.0.20.0230.07720.12
7.0.10.0230.04320.00
7.0.00.0170.03020.16
5.6.280.0030.07020.80
5.6.210.0070.06320.64
5.6.200.0070.08018.19
5.6.190.0100.03720.60
5.6.180.3600.04020.57
5.6.170.0270.03720.55
5.6.160.0030.09320.52
5.6.150.0130.07318.08
5.6.140.0130.06718.21
5.6.130.0200.04318.08
5.6.120.0000.04720.97
5.6.110.0130.07721.13
5.6.100.0070.06320.97
5.6.90.0070.07721.13
5.6.80.0030.03720.39
5.5.350.0030.08320.34
5.5.340.0130.07717.96
5.5.330.0100.05720.59
5.5.320.0270.07020.23
5.5.310.0300.07020.26
5.5.300.0100.03717.88
5.5.290.0100.08018.02
5.5.280.0100.08720.87
5.5.270.0000.08020.75
5.5.260.0100.05720.75
5.5.250.0230.05720.69
5.5.240.0070.04720.23
5.4.450.0700.05019.63
5.4.440.0670.05319.64
5.4.430.0170.05019.32
5.4.420.0170.04719.48
5.4.410.0130.05019.05
5.4.400.0900.00018.60
5.4.390.1500.00018.59
5.4.380.0170.06318.46
5.4.370.0370.05018.77
5.4.360.0130.06018.62
5.4.350.0300.05718.66
5.4.340.0370.05718.63
5.4.320.0060.04312.46
5.4.310.0020.04212.45
5.4.300.0070.04012.46
5.4.290.0060.03712.45
5.4.280.0050.03812.35
5.4.270.0090.03712.31
5.4.260.0040.04812.31
5.4.250.0060.04412.31
5.4.240.0060.04212.32
5.4.230.0060.04712.31
5.4.220.0050.04412.30
5.4.210.0090.03412.30
5.4.200.0090.03912.30
5.4.190.0050.03912.30
5.4.180.0080.03512.30
5.4.170.0080.03412.32
5.4.160.0080.03712.31
5.4.150.0080.03612.31
5.4.140.0100.03811.99
5.4.130.0060.03911.98
5.4.120.0050.03511.94
5.4.110.0070.03511.93
5.4.100.0070.03411.93
5.4.90.0050.03811.93
5.4.80.0080.03911.93
5.4.70.0050.03811.93
5.4.60.0050.03611.92
5.4.50.0090.03411.93
5.4.40.0080.03211.91
5.4.30.0110.03011.91
5.4.20.0060.03511.91
5.4.10.0070.03511.91
5.4.00.0050.03611.40
5.3.290.0070.04212.80
5.3.280.0060.03812.71
5.3.270.0100.04312.72
5.3.260.0060.03912.72
5.3.250.0040.03912.72
5.3.240.0040.04312.72
5.3.230.0070.04212.71
5.3.220.0050.04112.68
5.3.210.0080.04312.68
5.3.200.0060.03612.68
5.3.190.0040.04312.67
5.3.180.0100.03312.67
5.3.170.0070.03612.67
5.3.160.0080.03512.68
5.3.150.0060.04712.68
5.3.140.0030.04312.66
5.3.130.0080.03712.66
5.3.120.0080.03812.66
5.3.110.0060.04012.66
5.3.100.0060.03612.12
5.3.90.0030.03912.08
5.3.80.0070.03712.08
5.3.70.0070.04712.07
5.3.60.0080.03512.07
5.3.50.0070.03512.00
5.3.40.0050.03812.00
5.3.30.0070.04411.94
5.3.20.0070.03411.70
5.3.10.0050.04011.66
5.3.00.0070.03811.64
5.2.170.0070.0309.14
5.2.160.0060.0319.14
5.2.150.0050.0319.14
5.2.140.0070.0319.13
5.2.130.0030.0359.10
5.2.120.0050.0319.09
5.2.110.0070.0309.11
5.2.100.0050.0299.11
5.2.90.0040.0299.10
5.2.80.0080.0329.09
5.2.70.0100.0329.09
5.2.60.0050.0379.05
5.2.50.0040.0309.02
5.2.40.0040.0308.99
5.2.30.0050.0318.97
5.2.20.0060.0278.96
5.2.10.0050.0278.89
5.2.00.0060.0288.74
5.1.60.0030.0258.02
5.1.50.0050.0248.02
5.1.40.0060.0328.01
5.1.30.0050.0308.35
5.1.20.0040.0328.38
5.1.10.0020.0358.11
5.1.00.0030.0268.10
5.0.50.0020.0216.57
5.0.40.0030.0206.44
5.0.30.0050.0326.25
5.0.20.0040.0196.23
5.0.10.0030.0226.20
5.0.00.0030.0316.20
4.4.90.0040.0154.78
4.4.80.0010.0174.75
4.4.70.0020.0164.76
4.4.60.0040.0144.75
4.4.50.0010.0184.77
4.4.40.0040.0244.71
4.4.30.0020.0184.76
4.4.20.0070.0164.85
4.4.10.0020.0174.85
4.4.00.0010.0274.76
4.3.110.0000.0184.67
4.3.100.0010.0174.66
4.3.90.0030.0154.63
4.3.80.0020.0254.58
4.3.70.0040.0134.63
4.3.60.0040.0154.63
4.3.50.0020.0214.63
4.3.40.0030.0244.54
4.3.30.0020.0163.27
4.3.20.0010.0183.24
4.3.10.0010.0163.21
4.3.00.0100.0236.98