3v4l.org

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