3v4l.org

run code in 200+ php & hhvm versions
<?php $timestamp = strtotime('0000-02-20 00:00:00 UTC'); $timestamp2 = strtotime('0001-02-20 00:00:00 UTC'); print $timestamp . "\n"; $date_time = date_create('@' . $timestamp); print_r($date_time); print $timestamp2 . "\n"; $date_time2 = date_create('@' . $timestamp2); print_r($date_time2);
based on dlYio

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.4.0beta40.0080.00715.07
7.4.0beta20.0070.01015.16
7.4.0beta10.0070.00915.07
7.4.0alpha30.0080.00715.06
7.4.0alpha20.0130.00615.33
7.4.0alpha10.0060.01115.12
7.3.90.0100.00714.92
7.3.80.0080.00714.84
7.3.70.0070.00914.79
7.3.60.0090.00614.82
7.3.50.0090.00614.91
7.3.40.0050.01114.85
7.3.30.0040.01114.80
7.3.20.0360.00915.82
7.3.10.0050.01115.78
7.3.00.0020.01315.85
7.2.220.0120.00815.33
7.2.210.0090.00915.20
7.2.200.0090.01315.13
7.2.190.0050.01114.99
7.2.180.0090.00615.09
7.2.170.0080.00715.01
7.2.160.0080.00715.07
7.2.150.0070.00916.15
7.2.140.0110.00716.06
7.2.130.0090.00716.00
7.2.120.0080.00816.08
7.2.110.0080.01015.99
7.2.100.0080.00916.08
7.2.90.0120.01016.15
7.2.80.0080.01316.24
7.2.70.0100.00716.07
7.2.60.0100.00616.03
7.2.50.0050.01216.14
7.2.40.0080.00916.13
7.2.30.0070.01216.08
7.2.20.0130.00716.10
7.2.10.0100.00816.06
7.2.00.0070.01116.11
7.1.320.0100.00514.94
7.1.310.0110.00415.01
7.1.300.0080.00714.83
7.1.290.0100.00814.95
7.1.280.0070.00914.86
7.1.270.0130.00814.79
7.1.260.0110.00614.86
7.1.250.0130.00514.99
7.1.240.0110.01413.84
7.1.230.0200.00514.15
7.1.220.0210.00313.96
7.1.210.0130.00814.24
7.1.200.0150.00714.00
7.1.190.0110.00913.94
7.1.180.0120.00813.72
7.1.170.0170.00514.12
7.1.160.0070.01314.06
7.1.150.0200.00513.83
7.1.140.0230.00313.96
7.1.130.0170.01014.07
7.1.120.0120.01214.03
7.1.110.0090.01214.25
7.1.100.0150.00714.14
7.1.90.0200.00014.26
7.1.80.0080.01114.12
7.1.70.0180.00314.15
7.1.60.0090.01214.21
7.1.50.0210.00714.13
7.1.40.0170.00414.19
7.1.30.0080.01313.94
7.1.20.0130.01414.22
7.1.10.0130.00813.98
7.1.00.0160.01014.03
7.0.330.0100.01013.90
7.0.320.0170.00313.59
7.0.310.0160.00313.50
7.0.300.0130.01113.91
7.0.290.0180.00913.79
7.0.280.0160.01313.88
7.0.270.0100.01013.58
7.0.260.0100.01013.71
7.0.250.0280.00813.65
7.0.240.0120.00813.66
7.0.230.0070.01413.66
7.0.220.0180.00313.46
7.0.210.0070.01313.61
7.0.200.0160.00513.93
7.0.190.0180.00413.77
7.0.180.0110.00813.63
7.0.170.0170.00213.82
7.0.160.0150.00913.79
7.0.150.0200.00313.98
7.0.140.0190.00813.68
7.0.130.0590.00913.97
7.0.120.0080.01613.84
7.0.110.0180.00713.60
7.0.100.0180.00913.66
7.0.90.0090.01413.85
7.0.80.0250.00013.71
7.0.70.0180.00413.59
7.0.60.0140.01113.72
7.0.50.0080.01413.85
7.0.40.0140.01113.69
7.0.30.0170.00313.90
7.0.20.0120.00813.63
7.0.10.0060.01313.87
7.0.00.0190.00313.93
hhvm-3.22.00.1430.20690.54
hhvm-3.21.30.1450.21589.63
hhvm-3.21.00.1420.23390.46
hhvm-3.20.20.1270.27490.45
hhvm-3.19.20.1410.23588.99
hhvm-3.18.50.1330.21888.61
hhvm-3.18.40.1370.23188.63
hhvm-3.17.30.1210.17187.34
hhvm-3.15.40.1550.21685.23
hhvm-3.13.20.1670.24296.57
hhvm-3.12.140.1380.22895.24
hhvm-3.11.10.1540.24287.73
hhvm-3.10.10.1320.24884.64
5.6.400.0150.00914.38
5.6.390.0090.01514.44
5.6.380.0050.01914.02
5.6.370.0090.01214.15
5.6.360.0190.00314.39
5.6.350.0120.00914.46
5.6.340.0170.00514.57
5.6.330.0030.02114.41
5.6.320.0130.00914.38
5.6.310.0170.01314.24
5.6.300.0180.00414.21
5.6.290.0090.01914.34
5.6.280.0150.00614.27
5.6.270.0170.01014.39
5.6.260.0130.01014.41
5.6.250.0140.00714.37
5.6.240.0260.00014.52
5.6.230.0180.01114.53
5.6.220.0060.02114.36
5.6.210.0190.00414.42
5.6.200.0140.01014.38
5.6.190.0090.01414.53
5.6.180.0130.00714.18
5.6.170.0120.01214.36
5.6.160.0130.01014.29
5.6.150.0210.00314.22
5.6.140.0170.00714.60
5.6.130.0170.00414.39
5.6.120.0130.01214.61
5.6.110.0140.00914.38
5.6.100.0130.01014.23
5.6.90.0130.00914.36
5.6.80.0120.00914.34
5.6.70.0140.00814.50
5.6.60.0110.00714.34
5.6.50.0090.00914.46
5.6.40.0060.01314.48
5.6.30.0140.00714.39
5.6.20.0100.01114.37
5.6.10.0080.01114.41
5.6.00.0110.00714.39
5.5.380.0080.01314.58
5.5.370.0190.00514.24
5.5.360.0150.01114.26
5.5.350.0120.00714.33
5.5.340.0110.01314.23
5.5.330.0150.00814.05
5.5.320.0140.00914.58
5.5.310.0060.01614.13
5.5.300.0040.01914.51
5.5.290.0090.01214.45
5.5.280.0080.01514.02
5.5.270.0170.00614.55
5.5.260.0120.00814.55
5.5.250.0200.00014.39
5.5.240.0170.00414.25
5.5.230.0090.01214.32
5.5.220.0070.01414.54
5.5.210.0100.01014.66
5.5.200.0160.00814.24
5.5.190.0100.01014.19
5.5.180.0160.01214.45
5.5.170.0040.01414.35
5.5.160.0200.00614.16
5.5.150.0140.00713.97
5.5.140.0110.01114.34
5.5.130.0170.00414.46
5.5.120.0230.00214.30
5.5.110.0070.01314.22
5.5.100.0030.01714.34
5.5.90.0190.00014.45
5.5.80.0110.00813.88
5.5.70.0110.01114.14
5.5.60.0120.00614.23
5.5.50.0130.00614.02
5.5.40.0040.02114.47
5.5.30.0150.00314.25
5.5.20.0150.00414.46
5.5.10.0050.01414.24
5.5.00.0130.00514.46
5.4.450.0050.01512.46
5.4.440.0080.00812.46
5.4.430.0080.00812.46
5.4.420.0080.00812.46
5.4.410.0070.00712.46
5.4.400.0160.00012.46
5.4.390.0080.00512.46
5.4.380.0070.00712.46
5.4.370.0080.00612.46
5.4.360.0130.00312.46
5.4.350.0110.00712.46
5.4.340.0040.01212.46
5.4.330.0070.00712.46
5.4.320.0140.00312.46
5.4.310.0060.01312.46
5.4.300.0110.00912.46
5.4.290.0060.00912.46
5.4.280.0070.00712.46
5.4.270.0120.00312.46
5.4.260.0070.00712.46
5.4.250.0050.00812.46
5.4.240.0090.00512.46
5.4.230.0080.00512.46
5.4.220.0100.00512.46
5.4.210.0110.00812.46
5.4.200.0110.00412.46
5.4.190.0060.01312.46
5.4.180.0110.00412.46
5.4.170.0070.01012.46
5.4.160.0080.00512.46
5.4.150.0150.00012.46
5.4.140.0110.00312.46
5.4.130.0030.01012.46
5.4.120.0080.00812.46
5.4.110.0090.00612.46
5.4.100.0150.00012.46
5.4.90.0080.01212.46
5.4.80.0090.00612.46
5.4.70.0070.01012.46
5.4.60.0000.01312.46
5.4.50.0110.00512.46
5.4.40.0090.00612.46
5.4.30.0190.00212.46
5.4.20.0070.01112.46
5.4.10.0140.00612.46
5.4.00.0110.00612.46
5.3.290.0050.01012.46
5.3.280.0060.00612.46
5.3.270.0090.00512.46
5.3.260.0120.00312.46
5.3.250.0080.00812.46
5.3.240.0030.01012.46
5.3.230.0090.00612.46
5.3.220.0070.00712.46
5.3.210.0100.00612.46
5.3.200.0080.00512.46
5.3.190.0120.00412.46
5.3.180.0140.00012.46
5.3.170.0070.00712.46
5.3.160.0060.01012.46
5.3.150.0070.01012.46
5.3.140.0110.00712.46
5.3.130.0080.00812.46
5.3.120.0100.00712.46
5.3.110.0110.00512.46
5.3.100.0090.00512.46
5.3.90.0070.00712.46
5.3.80.0110.00612.46
5.3.70.0110.00312.46
5.3.60.0140.00012.46
5.3.50.0150.00312.46
5.3.40.0040.00812.46
5.3.30.0060.00612.46
5.3.20.0000.01312.46
5.3.10.0050.00912.46
5.3.00.0130.00012.46
5.2.170.0020.00712.46
5.2.160.0050.00512.46
5.2.150.0000.01112.46
5.2.140.0000.01112.46
5.2.130.0070.00512.46
5.2.120.0050.00512.46
5.2.110.0040.01112.46
5.2.100.0060.00612.46
5.2.90.0132.45512.46
5.2.80.0132.46012.46
5.2.70.0102.45912.46
5.2.60.0102.45612.46
5.2.50.0100.00312.46
5.2.40.0130.00312.46
5.2.30.0120.00212.46
5.2.20.0070.00412.46
5.2.10.0110.00312.46
5.2.00.0040.00812.46
5.1.60.0050.00512.46
5.1.50.0000.00912.46
5.1.40.0080.00412.46
5.1.30.0070.00412.46
5.1.20.0100.00312.46
5.1.10.0100.00012.46
5.1.00.0020.00812.46
5.0.50.0100.00012.46
5.0.40.0070.00412.46
5.0.30.0080.00012.46
5.0.20.0090.00012.46
5.0.10.0060.00212.46
5.0.00.0000.01012.46
4.4.90.0020.00512.46
4.4.80.0050.00512.46
4.4.70.0060.00312.46
4.4.60.0030.00612.46
4.4.50.0080.00012.46
4.4.40.0070.00012.46
4.4.30.0050.00312.46
4.4.20.0030.00312.46
4.4.10.0080.00012.46
4.4.00.0060.00312.46
4.3.110.0060.00312.46
4.3.100.0000.00712.46
4.3.90.0060.00012.46
4.3.80.0000.00712.46
4.3.70.0050.00312.46
4.3.60.0040.00612.46
4.3.50.0090.00012.46
4.3.40.0070.00212.46
4.3.30.0040.00412.46
4.3.20.0060.00312.46
4.3.10.0080.00012.46
4.3.00.0000.00712.46