3v4l.org

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