3v4l.org

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