3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $bitch = '/Date(1440960660000+0200)'; $ts = 1440960660000 / 1000; $_tz = timezone_name_from_abbr('+2'); $tz = new DateTimeZone($_tz); $dt = new DateTime("@$ts", 'Europe\Prague'); var_dump($dt);
based on RYsj5

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.3.0alpha10.0040.00712.54
7.2.60.0080.00816.75
7.2.00.0030.00919.47
7.1.100.0070.00718.09
7.1.70.0070.00317.21
7.1.60.0160.00719.12
7.1.50.0130.01017.19
7.1.00.0030.07722.57
7.0.200.0200.00316.77
7.0.60.0130.07319.93
7.0.50.0030.08017.86
7.0.40.0070.04020.23
7.0.30.0230.04020.04
7.0.20.0270.03720.17
7.0.10.0000.04720.30
7.0.00.0070.04720.20
5.6.280.0070.06721.09
5.6.210.0070.05720.46
5.6.200.0070.04018.16
5.6.190.0030.07020.66
5.6.180.0400.06320.52
5.6.170.0230.05320.71
5.6.160.0130.07720.52
5.6.150.0070.07318.21
5.6.140.0030.08018.11
5.6.130.0000.09018.28
5.6.120.0100.04721.02
5.6.110.0100.07320.88
5.6.100.0100.08020.98
5.6.90.0070.08320.97
5.6.80.0030.08320.36
5.5.350.0230.07720.46
5.5.340.0030.04017.95
5.5.330.0130.07020.44
5.5.320.0300.06020.24
5.5.310.0300.08320.26
5.5.300.0070.04718.08
5.5.290.0070.08018.08
5.5.280.0030.05720.79
5.5.270.0030.08020.94
5.5.260.0030.04320.75
5.5.250.0000.04320.70
5.5.240.0070.07020.18
5.4.450.0370.06319.47
5.4.440.0930.06019.62
5.4.430.0900.05719.47
5.4.420.0830.06019.63
5.4.410.0870.05319.04
5.4.400.1030.05719.32
5.4.390.1000.05318.85
5.4.380.1030.04719.30
5.4.370.1000.05019.29
5.4.360.0970.05719.29
5.4.350.0900.06319.32
5.4.340.1130.06318.97
5.4.320.1000.05319.15
5.4.310.1030.04719.19
5.4.300.1100.06019.15
5.4.290.0770.06319.25
5.4.280.1170.05718.86
5.4.270.0970.05319.22
5.4.260.0930.05319.30
5.4.250.0930.05719.14
5.4.240.0930.05319.22
5.4.230.0930.05019.13
5.4.220.0930.05319.05
5.4.210.0970.05019.01
5.4.200.1030.05316.80
5.4.190.0830.05019.13
5.4.180.1130.05319.07
5.4.170.1000.05718.91
5.4.160.0900.05719.31
5.4.150.1100.06019.03
5.4.140.0700.05716.34
5.4.130.0830.05316.39
5.4.120.1030.05016.43
5.4.110.0800.05316.33
5.4.100.0770.05716.34
5.4.90.0900.05016.53
5.4.80.0730.05716.50
5.4.70.1270.06716.53
5.4.60.1000.04716.48
5.4.50.0930.06016.53
5.4.40.1030.05716.37
5.4.30.1270.04716.46
5.4.20.0900.05016.37
5.4.10.1130.04716.37
5.4.00.0900.05715.80
5.3.290.1200.05314.56
5.3.280.1000.06314.59
5.3.270.1130.06014.51
5.3.260.1100.06014.74
5.3.250.0830.05014.51
5.3.240.0870.04714.74
5.3.230.0830.05314.56
5.3.220.0970.04714.61
5.3.210.0900.04714.64
5.3.200.0870.07014.58
5.3.190.1000.04314.79
5.3.180.0800.04714.79
5.3.170.1100.05314.46
5.3.160.1030.06314.56
5.3.150.1030.05014.53
5.3.140.0870.08014.57
5.3.130.0970.06714.44
5.3.120.1130.06714.46
5.3.110.0970.06314.59
5.3.100.1070.05713.96
5.3.90.0870.07014.02
5.3.80.0930.05714.09
5.3.70.1070.03713.91
5.3.60.0870.05714.01
5.3.50.0770.06013.85
5.3.40.1070.05014.02
5.3.30.0870.05013.96
5.3.20.0730.06713.75
5.3.10.0100.06713.55
5.3.00.0130.04713.64
5.2.170.0230.05011.05
5.2.160.0800.03711.37
5.2.150.0870.03711.07
5.2.140.0770.06011.15
5.2.130.0770.06311.05
5.2.120.0130.04311.16
5.2.110.0070.04011.32
5.2.100.0130.03311.32
5.2.90.0670.04711.02
5.2.80.0830.05311.18
5.2.70.0830.05311.10
5.2.60.0870.03311.05
5.2.50.0730.05010.97
5.2.40.0600.04310.90
5.2.30.0670.04310.82
5.2.20.0630.03311.09
5.2.10.0500.04010.95
5.2.00.0530.04310.62
5.1.60.0700.0279.88
5.1.50.0630.0379.89
5.1.40.0770.0379.98
5.1.30.0730.04310.35
5.1.20.0800.04310.21
5.1.10.0600.0479.94
5.1.00.0800.0409.98
5.0.50.0400.0378.42
5.0.40.0530.0208.32
5.0.30.0330.0408.24
5.0.20.0400.0278.35
5.0.10.0300.0408.24
5.0.00.0400.0408.38
4.4.90.0400.0275.85
4.4.80.0330.0175.80
4.4.70.0330.0235.85
4.4.60.0330.0175.82
4.4.50.0330.0205.76
4.4.40.0430.0405.82
4.4.30.0200.0275.84
4.4.20.0430.0205.82
4.4.10.0370.0175.86
4.4.00.0300.0335.86
4.3.110.0330.0275.74
4.3.100.0430.0235.68
4.3.90.0430.0235.75
4.3.80.0330.0405.76
4.3.70.0200.0235.75
4.3.60.0300.0275.75
4.3.50.0400.0205.75
4.3.40.0330.0305.62
4.3.30.0230.0234.50
4.3.20.0130.0234.58
4.3.10.0100.0234.37
4.3.00.0000.0278.45