3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime('UTC'))->format('GMT');
based on Rkaml
Output for 5.4.0 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
9OctUTC
Output for 7.0.6
18MayUTC
Output for 7.0.5
4AprUTC
Output for 7.0.3 - 7.0.4
17MarUTC
Output for 5.5.31, 7.0.2
0MarUTC
Output for 7.0.0 - 7.0.1
4MarUTC
Output for 5.6.21
20MayUTC
Output for 5.5.29, 5.6.12, 5.6.20
3AprUTC
Output for 5.6.19
1MarUTC
Output for 5.6.18
9MarUTC
Output for 5.6.17
21MarUTC
Output for 5.6.16
5MarUTC
Output for 5.6.15
6MarUTC
Output for 5.5.27, 5.5.30, 5.6.8, 5.6.14
8AprUTC
Output for 5.6.13
12AprUTC
Output for 5.6.11
16AprUTC
Output for 5.6.10
19AprUTC
Output for 5.6.9
1AprUTC
Output for 5.5.35
11MayUTC
Output for 5.5.25, 5.5.34
5AprUTC
Output for 5.5.33
3MarUTC
Output for 5.5.32
13MarUTC
Output for 5.5.28
6AprUTC
Output for 5.5.26
21AprUTC
Output for 5.5.24
12MayUTC
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/AZg7H on line 2
Process exited with code 255.