3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('l Y-M-d H:i:s');
based on ZvsAv
Output for 5.6.28, 7.0.14 - 7.1.0
Saturday 2014-Sep-06 21:54:54
Output for 7.0.6
Tuesday 2016-May-03 17:17:54
Output for 7.0.5
Sunday 2016-Apr-03 05:46:46
Output for 7.0.4
Thursday 2016-Mar-10 17:28:04
Output for 7.0.3
Friday 2016-Mar-18 18:14:26
Output for 7.0.2
Wednesday 2016-Mar-23 00:27:49
Output for 7.0.1
Thursday 2016-Mar-24 04:27:04
Output for 7.0.0
Sunday 2016-Mar-27 06:23:40
Output for 5.6.21
Monday 2016-May-02 12:28:07
Output for 5.6.20
Sunday 2016-Apr-10 04:45:10
Output for 5.6.19
Tuesday 2016-Mar-08 01:36:05
Output for 5.6.18
Tuesday 2016-Mar-15 10:07:52
Output for 5.6.17
Saturday 2016-Mar-19 22:00:36
Output for 5.6.16
Monday 2016-Mar-28 07:11:10
Output for 5.6.15
Tuesday 2016-Mar-29 08:02:10
Output for 5.6.14
Saturday 2016-Apr-02 09:57:03
Output for 5.6.13
Friday 2016-Apr-15 14:16:41
Output for 5.6.12
Wednesday 2016-Apr-20 04:44:06
Output for 5.6.11
Sunday 2016-Apr-24 10:56:32
Output for 5.6.10
Monday 2016-Apr-25 13:09:55
Output for 5.6.9
Wednesday 2016-Apr-27 18:18:58
Output for 5.6.8
Saturday 2016-Apr-30 03:11:35
Output for 5.5.35
Sunday 2016-May-22 18:32:32
Output for 5.5.34
Monday 2016-Apr-11 06:58:43
Output for 5.5.33
Wednesday 2016-Mar-09 04:14:57
Output for 5.5.32
Thursday 2016-Mar-17 13:52:22
Output for 5.5.31
Monday 2016-Mar-21 00:56:42
Output for 5.5.30
Friday 2016-Apr-01 09:55:11
Output for 5.5.29
Sunday 2016-Apr-17 04:41:31
Output for 5.5.28
Thursday 2016-Apr-21 07:55:35
Output for 5.5.27
Friday 2016-Apr-22 09:47:50
Output for 5.5.26
Tuesday 2016-Apr-26 15:51:32
Output for 5.5.25
Thursday 2016-Apr-28 22:42:45
Output for 5.5.24
Tuesday 2016-May-24 05:22:28
Output for 5.4.45
Wednesday 2015-Sep-09 19:13:56
Output for 5.4.44
Sunday 2015-Aug-09 18:58:44
Output for 5.4.43
Sunday 2015-Aug-09 18:58:39
Output for 5.4.42
Sunday 2015-Aug-09 18:58:38
Output for 5.4.41
Sunday 2015-Aug-09 18:58:36
Output for 5.4.40
Sunday 2015-Aug-09 18:58:33
Output for 5.4.39
Sunday 2015-Aug-09 18:58:32
Output for 5.4.38
Sunday 2015-Feb-22 16:17:29
Output for 5.4.37
Tuesday 2015-Feb-03 16:15:29
Output for 5.4.36
Tuesday 2015-Feb-03 16:15:28
Output for 5.4.35
Friday 2014-Nov-14 11:19:53
Output for 5.4.34
Thursday 2014-Nov-13 13:08:19
Output for 5.4.23 - 5.4.32
Saturday 2014-Sep-06 21:54:58
Output for 5.4.2 - 5.4.22
Saturday 2014-Sep-06 21:54:59
Output for 5.4.0 - 5.4.1
Saturday 2014-Sep-06 21:55:00
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/RVtgI 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/RVtgI on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/RVtgI 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/RVtgI on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/RVtgI 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/RVtgI on line 2 Parse error: parse error, expecting `','' or `';'' in /in/RVtgI on line 2
Process exited with code 255.