3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //following GMT value or offset get from api $offsetHours = '-5 hour'; // This time i get from api $currentValue = '1401705628'; $actualTimeStamp = strtotime($offsetHours,$currentValue); echo $actualTimeStamp."==="; echo date('h:i A',$actualTimeStamp);

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.0030.01316.84
7.3.00.0030.00616.73
7.2.130.0090.00617.16
7.2.120.0110.00317.12
7.2.110.0040.01117.01
7.2.100.0040.01116.89
7.2.90.0090.00617.02
7.2.80.0090.00616.87
7.2.70.0080.00817.15
7.2.60.0070.00717.06
7.2.50.0060.00317.20
7.2.40.0030.00916.98
7.2.30.0070.00717.04
7.2.20.0070.00717.25
7.2.10.0030.00717.09
7.2.00.0020.01018.23
7.1.250.0000.01515.88
7.1.240.0120.00616.02
7.1.230.0060.00715.82
7.1.220.0090.00616.04
7.1.210.0040.00815.88
7.1.200.0090.00215.95
7.1.190.0090.00615.92
7.1.180.0040.00815.91
7.1.170.0110.00315.93
7.1.160.0030.00615.96
7.1.150.0060.00915.93
7.1.140.0030.00916.04
7.1.130.0060.00915.93
7.1.120.0070.00715.94
7.1.110.0090.00016.04
7.1.100.0050.00717.20
7.1.90.0000.01415.80
7.1.80.0070.00316.11
7.1.70.0060.00816.66
7.1.60.0100.00217.61
7.1.50.0050.01416.41
7.1.40.0070.00415.81
7.1.30.0040.00815.99
7.1.20.0030.01015.80
7.1.10.0070.00315.95
7.1.00.0050.04319.02
7.0.330.0030.01015.71
7.0.320.0030.01015.55
7.0.310.0000.01215.17
7.0.300.0100.00315.40
7.0.290.0100.00315.73
7.0.280.0000.01415.27
7.0.270.0060.00615.55
7.0.260.0040.00815.70
7.0.250.0030.01015.52
7.0.240.0060.00615.61
7.0.230.0070.00615.38
7.0.220.0040.01115.23
7.0.210.0090.00615.65
7.0.200.0170.00615.34
7.0.190.0070.00715.34
7.0.180.0030.01015.53
7.0.170.0000.01115.24
7.0.160.0030.00715.60
7.0.150.0000.01415.50
7.0.140.0030.04218.79
7.0.130.0040.01115.50
7.0.120.0100.00315.41
7.0.110.0060.04417.80
7.0.100.0040.04417.78
7.0.90.0080.04117.68
7.0.80.0100.04117.66
7.0.70.0070.04017.71
7.0.60.0020.04517.83
7.0.50.0050.04017.71
7.0.40.0100.02216.70
7.0.30.0070.04016.75
7.0.20.0030.04316.72
7.0.10.0090.03216.73
7.0.00.0050.04516.66
5.6.380.0000.01413.82
5.6.370.0000.01014.56
5.6.360.0100.00314.61
5.6.350.0000.00814.32
5.6.340.0030.00714.30
5.6.330.0030.00614.26
5.6.320.0030.01314.40
5.6.310.0000.01414.48
5.6.300.0090.00314.38
5.6.290.0040.01114.32
5.6.280.0120.03217.79
5.6.270.0090.00314.45
5.6.260.0090.03617.50
5.6.250.0070.03917.57
5.6.240.0050.04817.63
5.6.230.0030.04717.61
5.6.220.0060.04717.35
5.6.210.0070.04617.55
5.6.200.0120.03517.39
5.6.190.0080.04017.38
5.6.180.0030.04517.59
5.6.170.0050.04717.50
5.6.160.0050.04017.65
5.6.150.0050.04517.46
5.6.140.0080.04217.43
5.6.130.0090.03317.49
5.6.120.0050.04517.55
5.6.110.0050.02517.51
5.6.100.0100.04117.41
5.6.90.0070.04517.56
5.6.80.0090.04017.44
5.6.70.0070.04317.23
5.6.60.0080.04017.07
5.6.50.0040.04317.15
5.6.40.0100.02517.26
5.6.30.0030.04817.06
5.6.20.0080.03917.19
5.6.10.0020.04817.13
5.6.00.0060.04217.11
5.5.380.0030.04115.90
5.5.370.0120.02515.86
5.5.360.0030.03115.81
5.5.350.0030.04815.72
5.5.340.0070.04215.99
5.5.330.0080.03815.99
5.5.320.0020.04116.13
5.5.310.0080.02115.90
5.5.300.0050.04615.85
5.5.290.0070.04015.97
5.5.280.0030.04516.04
5.5.270.0070.02716.14
5.5.260.0050.04315.95
5.5.250.0100.04015.85
5.5.240.0050.04215.69
5.5.230.0090.04015.61
5.5.220.0080.04115.53
5.5.210.0030.04515.77
5.5.200.0050.03915.71
5.5.190.0100.03815.44
5.5.180.0050.03515.76
5.5.170.0060.00611.22
5.5.160.0060.04415.74
5.5.150.0030.03815.71
5.5.140.0120.03515.59
5.5.130.0070.02115.75
5.5.120.0070.03815.78
5.5.110.0050.03815.72
5.5.100.0050.04115.60
5.5.90.0110.03715.60
5.5.80.0080.04015.70
5.5.70.0070.04015.63
5.5.60.0030.04015.38
5.5.50.0030.04315.62
5.5.40.0030.03315.58
5.5.30.0080.04315.58
5.5.20.0080.03015.54
5.5.10.0030.03115.53
5.5.00.0050.04315.38
5.4.450.0020.03015.09
5.4.440.0080.03615.34
5.4.430.0100.04015.38
5.4.420.0070.03815.46
5.4.410.0060.04215.30
5.4.400.0080.04014.83
5.4.390.0110.03515.14
5.4.380.0070.02414.98
5.4.370.0050.04214.95
5.4.360.0110.03615.08
5.4.350.0090.03814.89
5.4.340.0090.03715.17
5.4.330.0070.00011.02
5.4.320.0100.04014.98
5.4.310.0090.03714.96
5.4.300.0040.04114.95
5.4.290.0110.03314.90
5.4.280.0080.03714.99
5.4.270.0080.03815.08
5.4.260.0050.03814.95
5.4.250.0020.04315.13
5.4.240.0070.04015.04
5.4.230.0080.04015.08
5.4.220.0070.04015.02
5.4.210.0070.04215.02
5.4.200.0080.03815.02
5.4.190.0070.04214.92
5.4.180.0020.04615.18
5.4.170.0080.04114.99
5.4.160.0050.03815.10
5.4.150.0030.04515.02
5.4.140.0100.03613.75
5.4.130.0030.04213.83
5.4.120.0160.03413.67
5.4.110.0020.04313.58
5.4.100.0040.04413.53
5.4.90.0090.03613.79
5.4.80.0050.03813.52
5.4.70.0060.04113.54
5.4.60.0080.03613.72
5.4.50.0030.04113.79
5.4.40.0080.03913.66
5.4.30.0050.03913.66
5.4.20.0070.04213.57
5.4.10.0030.04013.67
5.4.00.0080.03613.42
5.3.290.0080.03812.63
5.3.280.0050.03812.55
5.3.270.0130.03312.61
5.3.260.0050.03212.57
5.3.250.0060.04012.59
5.3.240.0090.03812.52
5.3.230.0020.04112.46
5.3.220.0000.02712.36
5.3.210.0080.02112.45
5.3.200.0040.03912.55
5.3.190.0060.03012.44
5.3.180.0100.03712.63
5.3.170.0060.04012.55
5.3.160.0020.04312.58
5.3.150.0080.02312.58
5.3.140.0050.04012.54
5.3.130.0000.03112.56
5.3.120.0070.04112.63
5.3.110.0050.04112.54
5.3.100.0090.03812.31
5.3.90.0040.04212.30
5.3.80.0030.04212.15
5.3.70.0070.03712.31
5.3.60.0050.02912.19
5.3.50.0090.03912.26
5.3.40.0100.03812.04
5.3.30.0070.03512.20
5.3.20.0070.03811.98
5.3.10.0110.03112.04
5.3.00.0100.03311.93
5.2.170.0060.02210.85
5.2.160.0030.03510.77
5.2.150.0030.03510.91
5.2.140.0030.03610.79
5.2.130.0050.02010.77
5.2.120.0110.02810.77
5.2.110.0060.02810.77
5.2.100.0030.03310.77
5.2.90.0070.02010.77
5.2.80.0050.02810.77
5.2.70.0050.02010.77
5.2.60.0060.02810.77
5.2.50.0030.03410.77
5.2.40.0050.03510.77
5.2.30.0080.03210.77
5.2.20.0060.03210.77
5.2.10.0050.03210.77
5.2.00.0060.03010.77
5.1.60.0030.02710.77
5.1.50.0050.02810.77
5.1.40.0090.02410.77
5.1.30.0040.03210.77
5.1.20.0040.02910.77
5.1.10.0050.02810.77
5.1.00.0040.03010.77
5.0.50.0040.02310.77
5.0.40.0050.02010.77
5.0.30.0020.03310.77
5.0.20.0050.01910.77
5.0.10.0020.01710.77
5.0.00.0050.02910.77
4.4.90.0030.01710.77
4.4.80.0020.01810.77
4.4.70.0000.02210.77
4.4.60.0030.01910.77
4.4.50.0050.01210.77
4.4.40.0030.03010.77
4.4.30.0010.01810.77
4.4.20.0030.01810.77
4.4.10.0020.02010.77
4.4.00.0000.02910.77
4.3.110.0030.01810.77
4.3.100.0020.02010.77
4.3.90.0030.01610.77
4.3.80.0030.02710.77
4.3.70.0000.02110.77
4.3.60.0060.01510.77
4.3.50.0000.02110.77
4.3.40.0020.02710.77
4.3.30.0060.01510.77
4.3.20.0020.02010.77
4.3.10.0010.01810.77
4.3.00.0030.01810.77