3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Etc/GMT-3'); echo (new \DateTime())->format('Y-m-d H:i:s');
based on 945WA
Output for 5.6.28, 7.0.20 - 7.2.0
2015-12-09 03:06:58
Output for 7.0.6
2016-05-03 21:12:52
Output for 7.0.5
2016-04-03 09:31:18
Output for 7.0.4
2016-03-10 22:28:49
Output for 7.0.3
2016-03-18 23:51:15
Output for 7.0.2
2016-03-23 06:05:37
Output for 7.0.1
2016-03-24 09:19:21
Output for 7.0.0
2016-03-27 10:13:33
Output for 5.6.21
2016-05-02 16:21:28
Output for 5.6.20
2016-04-10 08:32:48
Output for 5.6.19
2016-03-08 06:41:07
Output for 5.6.18
2016-03-15 15:32:31
Output for 5.6.17
2016-03-20 03:06:57
Output for 5.6.16
2016-03-28 11:02:21
Output for 5.6.15
2016-03-29 11:51:44
Output for 5.6.14
2016-04-14 17:32:48
Output for 5.6.13
2016-04-15 18:13:26
Output for 5.6.12
2016-04-20 08:40:25
Output for 5.6.11
2016-04-24 15:05:49
Output for 5.6.10
2016-04-25 17:10:05
Output for 5.6.9
2016-04-27 22:18:18
Output for 5.6.8
2016-04-30 07:08:15
Output for 5.5.35
2016-05-23 01:25:08
Output for 5.5.34
2016-04-11 10:44:26
Output for 5.5.33
2016-03-09 09:35:52
Output for 5.5.32
2016-03-17 19:27:02
Output for 5.5.31
2016-03-21 06:13:20
Output for 5.5.30
2016-04-01 13:43:54
Output for 5.5.29
2016-04-17 08:31:07
Output for 5.5.28
2016-04-21 11:57:37
Output for 5.5.27
2016-04-22 13:38:53
Output for 5.5.26
2016-04-26 19:49:58
Output for 5.5.25
2016-04-29 03:14:57
Output for 5.5.24
2016-05-24 09:34:32
Output for 5.4.45
2015-12-09 03:07:00
Output for 5.4.44
2015-12-09 03:07:01
Output for 5.4.41 - 5.4.43
2015-12-09 03:07:02
Output for 5.4.38 - 5.4.40
2015-12-09 03:07:03
Output for 5.4.35 - 5.4.37
2015-12-09 03:07:04
Output for 5.4.29 - 5.4.34
2015-12-09 03:07:05
Output for 5.4.23 - 5.4.28
2015-12-09 03:07:06
Output for 5.4.18 - 5.4.22
2015-12-09 03:07:07
Output for 5.4.12 - 5.4.17
2015-12-09 03:07:08
Output for 5.4.10 - 5.4.11
2015-12-09 03:07:09
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/ObGbW on line 5
Process exited with code 255.