3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-dTH:i:sZ');
based on EABlV
Output for 5.6.28, 7.0.14 - 7.1.0
2014-10-27CET15:53:543600
Output for 7.0.6
2016-05-03CEST10:35:497200
Output for 7.0.5
2016-04-02CEST23:20:477200
Output for 7.0.4
2016-03-10CET09:58:243600
Output for 7.0.3
2016-03-18CET10:39:073600
Output for 7.0.2
2016-03-22CET16:37:223600
Output for 7.0.1
2016-03-23CET21:11:393600
Output for 7.0.0
2016-03-26CET22:43:453600
Output for hhvm-3.12.0
2016-03-12CET13:32:543600
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
2016-05-02CEST05:54:547200
Output for 5.6.20
2016-04-09CEST22:20:487200
Output for 5.6.19
2016-03-07CET18:06:493600
Output for 5.6.18
2016-03-15CET02:13:053600
Output for 5.6.17
2016-03-19CET14:52:483600
Output for 5.6.16
2016-03-28CEST00:41:077200
Output for 5.6.15
2016-03-29CEST01:36:157200
Output for 5.6.14
2016-04-02CEST03:54:467200
Output for 5.6.13
2016-04-15CEST07:49:347200
Output for 5.6.12
2016-04-19CEST21:38:477200
Output for 5.6.11
2016-04-23CEST04:40:157200
Output for 5.6.10
2016-04-25CEST06:25:057200
Output for 5.6.9
2016-04-27CEST11:24:357200
Output for 5.6.8
2016-04-29CEST19:32:547200
Output for 5.5.35
2016-05-22CEST09:42:487200
Output for 5.5.34
2016-04-11CEST00:42:347200
Output for 5.5.33
2016-03-08CET21:03:163600
Output for 5.5.32
2016-03-17CET03:46:293600
Output for 5.5.31
2016-03-20CET17:37:103600
Output for 5.5.30
2016-04-01CEST03:32:577200
Output for 5.5.29
2016-04-16CEST21:56:597200
Output for 5.5.28
2016-04-21CEST00:55:167200
Output for 5.5.27
2016-04-22CEST03:12:307200
Output for 5.5.26
2016-04-26CEST08:51:557200
Output for 5.5.25
2016-04-28CEST15:16:427200
Output for 5.5.24
2016-05-23CEST22:31:077200
Output for 5.4.45
2015-09-06CEST23:01:477200
Output for 5.4.44
2015-09-06CEST23:01:447200
Output for 5.4.43
2015-09-06CEST23:01:407200
Output for 5.4.42
2015-07-09CEST18:15:277200
Output for 5.4.41
2015-07-09CEST18:15:257200
Output for 5.4.39 - 5.4.40
2015-07-09CEST18:15:217200
Output for 5.4.38
2015-07-09CEST18:15:197200
Output for 5.4.36 - 5.4.37
2015-07-09CEST18:15:177200
Output for 5.4.35
2015-07-09CEST18:15:167200
Output for 5.4.12 - 5.4.34
2014-10-27CET15:53:593600
Output for 5.4.0 - 5.4.11
2014-10-27CET15:54:003600
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/hvXUE on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/hvXUE on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/hvXUE on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/hvXUE on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/hvXUE on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/hvXUE on line 2 Parse error: parse error, expecting `','' or `';'' in /in/hvXUE on line 2
Process exited with code 255.