3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $actual = new DateTime($view->result[$i]->field_data_field_event_times_field_event_times_value, new DateTimeZone('Europe/London')); $actual->modify('+1 hour'); $times = (string) $actual->format('G.i'); print($times); $actual = new DateTime($view->result[$i]->field_data_field_event_times_field_event_times_value, new DateTimeZone('Europe/London')); $actual->modify('+5 hour'); print($times);

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.2.110.0140.00416.64
7.2.60.0160.00817.13
7.2.00.0030.01019.36
7.1.200.0100.00615.89
7.1.100.0030.01018.02
7.1.70.0050.00217.18
7.1.60.0100.01419.70
7.1.50.0130.01317.11
7.1.00.0030.07722.36
7.0.200.0210.00616.93
7.0.140.0000.07022.11
7.0.60.0200.07319.81
7.0.50.0070.07717.83
7.0.40.0000.04720.40
7.0.30.0230.04020.19
7.0.20.0230.08020.01
7.0.10.0100.08720.19
7.0.00.0070.07020.16
5.6.280.0000.07721.07
5.6.210.0030.08320.46
5.6.200.0200.05718.22
5.6.190.0070.04320.43
5.6.180.3100.04020.41
5.6.170.0370.07020.38
5.6.160.0070.03720.41
5.6.150.0070.04318.14
5.6.140.0070.08318.10
5.6.130.0000.09018.14
5.6.120.0070.04020.96
5.6.110.0170.06021.12
5.6.100.0130.08020.96
5.6.90.0100.05320.96
5.6.80.0170.06720.40
5.6.70.3270.03320.46
5.5.350.0030.08720.36
5.5.340.0100.08017.98
5.5.330.0200.08020.23
5.5.320.3930.05020.29
5.5.310.0130.04720.19
5.5.300.0030.05017.96
5.5.290.0030.06718.01
5.5.280.0230.06720.87
5.5.270.0100.04020.86
5.5.260.0130.08320.64
5.5.250.0130.07020.61
5.5.240.0200.07020.05
5.4.450.0230.03028.29
5.4.440.0530.04328.28
5.4.430.0530.04728.28
5.4.420.0270.03728.28
5.4.410.0230.04728.28
5.4.400.0400.04727.71
5.4.390.0500.03727.29
5.4.380.0230.06718.72
5.4.370.0170.05318.49
5.4.360.0170.05018.69
5.4.350.0100.05718.69
5.4.340.0130.05318.65
5.4.320.0060.03612.46
5.4.310.0040.04012.45
5.4.300.0120.09012.45
5.4.290.0190.10112.45
5.4.280.0120.06512.35
5.4.270.0140.10812.35
5.4.260.0130.05612.35
5.4.250.0100.07112.35
5.4.240.0080.05612.35
5.4.230.0120.05812.34
5.4.220.0150.07112.34
5.4.210.0060.05812.34
5.4.200.0090.05812.34
5.4.190.0120.05712.34
5.4.180.0110.05612.34
5.4.170.0190.08312.35
5.4.160.0120.05312.35
5.4.150.0080.05712.34
5.4.140.0060.06312.02
5.4.130.0090.05512.01
5.4.120.0070.05911.97
5.4.110.0090.05711.96
5.4.100.0160.04411.96
5.4.90.0180.07611.96
5.4.80.0070.06311.96
5.4.70.0120.05111.96
5.4.60.0070.05611.96
5.4.50.0080.05711.96
5.4.40.0090.05611.95
5.4.30.0060.05711.95
5.4.20.0090.05511.95
5.4.10.0110.05211.95
5.4.00.0110.05511.44
5.3.290.0080.03812.80
5.3.280.0100.05712.71
5.3.270.0100.06112.72
5.3.260.0110.05912.72
5.3.250.0060.06212.72
5.3.240.0080.06012.72
5.3.230.0100.05712.71
5.3.220.0110.05812.68
5.3.210.0120.05512.68
5.3.200.0090.05512.68
5.3.190.0060.06012.68
5.3.180.0090.05912.67
5.3.170.0180.07812.67
5.3.160.0150.06012.67
5.3.150.0070.06012.67
5.3.140.0110.05512.66
5.3.130.0080.06212.66
5.3.120.0120.05712.66
5.3.110.0130.06212.66
5.3.100.0060.05812.12
5.3.90.0110.05612.08
5.3.80.0080.05412.08
5.3.70.0050.05812.07
5.3.60.0100.05312.06
5.3.50.0110.05112.00
5.3.40.0120.05212.00
5.3.30.0180.05711.95
5.3.20.0090.05311.73
5.3.10.0100.07711.69
5.3.00.0170.08811.68
5.2.170.0060.0439.19
5.2.160.0070.0419.18
5.2.150.0050.0449.18
5.2.140.0120.0429.18
5.2.130.0110.0419.14
5.2.120.0070.0409.14
5.2.110.0070.0399.14
5.2.100.0120.0489.14
5.2.90.0080.0419.14
5.2.80.0090.0429.14
5.2.70.0090.0419.14
5.2.60.0070.0429.10
5.2.50.0120.0519.06
5.2.40.0080.0599.04
5.2.30.0100.0489.01
5.2.20.0080.0459.00
5.2.10.0060.0478.93
5.2.00.0100.0578.79
5.1.60.0050.0378.07
5.1.50.0070.0358.07
5.1.40.0090.0368.04
5.1.30.0090.0388.40
5.1.20.0090.0398.41
5.1.10.0080.0358.14
5.1.00.0090.0368.14
5.0.50.0060.0316.62
5.0.40.0050.0296.48
5.0.30.0050.0456.30
5.0.20.0090.0286.27
5.0.10.0070.0306.24
5.0.00.0130.0386.23
4.4.90.0090.0194.78
4.4.80.0030.0284.75
4.4.70.0070.0194.75
4.4.60.0090.0254.75
4.4.50.0050.0314.77
4.4.40.0110.0364.71
4.4.30.0110.0294.76
4.4.20.0070.0314.85
4.4.10.0060.0314.85
4.4.00.0060.0574.75
4.3.110.0060.0284.66
4.3.100.0060.0234.66
4.3.90.0070.0234.63
4.3.80.0060.0424.59
4.3.70.0040.0284.63
4.3.60.0040.0214.62
4.3.50.0060.0464.63
4.3.40.0080.0594.54
4.3.30.0100.0213.29
4.3.20.0110.0223.27
4.3.10.0060.0363.21
4.3.00.0000.01727.10