3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('2005-10-10', new DateTimeZone('PST')); var_dump($date->format('c')); $date->setTimezone(new DateTimeZone('CET')); var_dump($date->format('c'));

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.0rc40.0220.00498.97
7.3.0rc30.0200.00016.76
7.3.0beta10.0060.00312.38
7.3.0alpha10.0170.00012.26
7.2.60.0040.00817.05
7.2.00.0000.01119.47
7.1.200.0120.00315.57
7.1.100.0060.00917.82
7.1.70.0040.00417.11
7.1.60.0110.01419.82
7.1.50.0140.01116.63
7.1.00.0030.03722.44
7.0.200.0000.00816.79
7.0.140.0000.07721.91
7.0.60.0100.08020.02
7.0.50.0070.09017.79
7.0.40.0170.07720.12
7.0.30.0230.04020.04
7.0.20.0370.07720.09
7.0.10.0070.05020.19
7.0.00.0100.08320.01
5.6.280.0000.07320.86
5.6.210.0070.08020.50
5.6.200.0030.04018.11
5.6.190.0100.06320.67
5.6.180.0200.05320.45
5.6.170.0200.04320.45
5.6.160.0100.05020.44
5.6.150.0000.04718.07
5.6.140.0070.04018.19
5.6.130.0130.06718.12
5.6.120.0130.06021.11
5.6.110.0100.05021.02
5.6.100.0100.04020.98
5.6.90.0130.08021.00
5.6.80.0070.07720.41
5.5.350.0030.08320.46
5.5.340.0070.05317.92
5.5.330.0030.05020.13
5.5.320.0070.06720.29
5.5.310.0270.05320.20
5.5.300.0070.05318.01
5.5.290.0130.07017.98
5.5.280.0100.05720.89
5.5.270.0130.08020.72
5.5.260.0100.08020.77
5.5.250.0100.08020.68
5.5.240.0170.08020.34
5.4.450.0030.03319.43
5.4.440.0430.04319.07
5.4.430.0600.02719.13
5.4.420.0500.05019.54
5.4.410.0530.06019.26
5.4.400.0370.04318.89
5.4.390.0430.03718.78
5.4.380.1000.05718.66
5.4.370.0970.04318.71
5.4.360.1030.04318.51
5.4.350.1000.05718.57
5.4.340.1070.05718.62
5.4.320.0060.04212.46
5.4.310.0080.03712.45
5.4.300.0060.04612.46
5.4.290.0110.04012.45
5.4.280.0080.03612.35
5.4.270.0110.03912.35
5.4.260.0030.07019.01
5.4.250.0170.04318.86
5.4.240.0070.04718.78
5.4.230.0000.05318.87
5.4.220.0070.05018.78
5.4.210.0100.04718.64
5.4.200.0100.05719.03
5.4.190.0130.06319.00
5.4.180.0100.07018.79
5.4.170.0070.05318.66
5.4.160.0130.06019.00
5.4.150.0100.07018.83
5.4.140.0130.04016.24
5.4.130.0100.05716.50
5.4.120.0030.05016.54
5.4.110.0030.05016.56
5.4.100.0130.04016.42
5.4.90.0070.04716.56
5.4.80.0070.06316.27
5.4.70.0070.04716.34
5.4.60.0000.05316.34
5.4.50.0070.05716.30
5.4.40.0070.04716.18
5.4.30.0070.06316.11
5.4.20.0000.06016.44
5.4.10.0000.05316.14
5.4.00.0000.05015.70
5.3.290.0070.04112.80
5.3.280.0130.04014.59
5.3.270.0070.05014.38
5.3.260.0130.05314.60
5.3.250.0100.06014.49
5.3.240.0070.05314.30
5.3.230.0070.05014.60
5.3.220.0070.05014.58
5.3.210.0030.05014.67
5.3.200.0000.05314.34
5.3.190.0030.05014.27
5.3.180.0030.05014.40
5.3.170.0070.06314.43
5.3.160.0070.04714.33
5.3.150.0070.04714.45
5.3.140.0030.05014.55
5.3.130.0100.05314.56
5.3.120.0030.05314.25
5.3.110.0100.05014.64
5.3.100.0070.04314.05
5.3.90.0070.04314.03
5.3.80.0100.04013.85
5.3.70.0030.05013.90
5.3.60.0000.06714.03
5.3.50.0030.05013.96
5.3.40.0030.06313.81
5.3.30.0070.04713.92
5.3.20.0030.04713.70
5.3.10.0100.04313.42
5.3.00.0070.05013.63
5.2.170.0070.04011.15
5.2.160.0070.05310.90
5.2.150.0000.04311.23
5.2.140.0030.04311.15
5.2.130.0030.03711.09
5.2.120.0070.03711.09
5.2.110.0070.04711.12
5.2.100.0070.05010.93
5.2.90.0070.03710.93
5.2.80.0070.04011.10
5.2.70.0030.05310.92
5.2.60.0030.05311.16
5.2.50.0000.04310.93
5.2.40.0030.03711.00
5.2.30.0070.04310.96
5.2.20.0030.03710.90
5.2.10.0130.04310.77
5.2.00.0030.04310.47
5.1.60.0070.0309.96
5.1.50.0000.0379.91
5.1.40.0030.03710.21
5.1.30.0070.04710.22
5.1.20.0000.03710.56
5.1.10.0070.03310.09
5.1.00.0100.04010.13
5.0.50.0030.0309.07
5.0.40.0030.0279.07
5.0.30.0030.0409.07
5.0.20.0030.0339.07
5.0.10.0070.0239.07
5.0.00.0070.0379.07
4.4.90.0070.0239.07
4.4.80.0070.0239.07
4.4.70.0000.0239.07
4.4.60.0030.0279.07
4.4.50.0000.0239.07
4.4.40.0000.0339.07
4.4.30.0030.0239.07
4.4.20.0070.0179.07
4.4.10.0000.0239.07
4.4.00.0000.0379.07
4.3.110.0030.0209.07
4.3.100.0000.0309.07
4.3.90.0000.0209.07
4.3.80.0030.0379.07
4.3.70.0030.0279.07
4.3.60.0000.0239.07
4.3.50.0000.0239.07
4.3.40.0030.0309.07
4.3.30.0000.0239.07
4.3.20.0070.0279.07
4.3.10.0070.0179.07
4.3.00.0100.01713.16