3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime('now', new \DateTimeZone('Europe/Berlin')))->modify('+30 minutes')->format('Hi');
based on 0MHh8
Output for 5.4.11 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
1316
Output for 7.0.6
1414
Output for 7.0.5
1012
Output for 7.0.4
2219
Output for 7.0.3
2346
Output for 7.0.2
0600
Output for 7.0.1
0904
Output for 7.0.0
1057
Output for 5.6.21
1706
Output for 5.6.20
0915
Output for 5.6.19
0629
Output for 5.6.18
1527
Output for 5.6.17
0259
Output for 5.6.16
1147
Output for 5.6.15
1237
Output for 5.6.14
1819
Output for 5.6.13
1858
Output for 5.6.12
0927
Output for 5.6.11
1554
Output for 5.6.10
1759
Output for 5.6.9
2326
Output for 5.6.8
0755
Output for 5.5.35
0309
Output for 5.5.34
1128
Output for 5.5.33
0928
Output for 5.5.32
1924
Output for 5.5.31
0610
Output for 5.5.30
1428
Output for 5.5.29
0916
Output for 5.5.28
1247
Output for 5.5.27
1425
Output for 5.5.26
2041
Output for 5.5.25
0407
Output for 5.5.24
1033
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/W7Dlo on line 3
Process exited with code 255.