3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-d H:i:s.m');
based on EABlV
Output for 5.6.28, 7.0.20 - 7.2.0
2015-09-24 00:16:15.09
Output for 7.0.6
2016-05-03 06:23:05.05
Output for 7.0.5
2016-04-02 19:25:34.04
Output for 7.0.4
2016-03-10 05:28:40.03
Output for 7.0.3
2016-03-18 05:52:55.03
Output for 7.0.2
2016-03-22 11:23:49.03
Output for 7.0.1
2016-03-23 16:52:15.03
Output for 7.0.0
2016-03-26 18:36:18.03
Output for 5.6.21
2016-05-02 01:38:52.05
Output for 5.6.20
2016-04-09 14:41:49.04
Output for 5.6.19
2016-03-07 05:58:14.03
Output for 5.6.18
2016-03-14 18:38:19.03
Output for 5.6.17
2016-03-19 10:14:51.03
Output for 5.6.16
2016-03-27 20:21:33.03
Output for 5.6.15
2016-03-28 21:14:24.03
Output for 5.6.14
2016-04-01 23:43:17.04
Output for 5.6.13
2016-04-15 03:46:38.04
Output for 5.6.12
2016-04-19 17:17:30.04
Output for 5.6.11
2016-04-23 00:12:35.04
Output for 5.6.10
2016-04-25 02:06:08.04
Output for 5.6.9
2016-04-27 07:05:46.04
Output for 5.6.8
2016-04-29 14:57:10.04
Output for 5.6.7
2016-05-25 06:07:53.05
Output for 5.5.35
2016-05-22 05:16:06.05
Output for 5.5.34
2016-04-10 20:39:00.04
Output for 5.5.33
2016-03-08 16:22:38.03
Output for 5.5.32
2016-03-16 22:24:00.03
Output for 5.5.31
2016-03-20 13:04:08.03
Output for 5.5.30
2016-03-31 23:14:49.03
Output for 5.5.29
2016-04-16 17:52:04.04
Output for 5.5.28
2016-04-20 20:20:11.04
Output for 5.5.27
2016-04-21 22:47:33.04
Output for 5.5.26
2016-04-26 04:31:40.04
Output for 5.5.25
2016-04-28 10:33:48.04
Output for 5.5.24
2016-05-23 17:30:14.05
Output for 5.4.39 - 5.4.45
2015-09-24 00:16:25.09
Output for 5.4.30 - 5.4.38
2015-09-24 00:16:26.09
Output for 5.4.24 - 5.4.29
2015-09-24 00:16:27.09
Output for 5.4.16 - 5.4.23
2015-09-24 00:16:28.09
Output for 5.4.9 - 5.4.15
2015-09-24 00:16:29.09
Output for 5.4.8
2015-09-24 00:16:30.09
Output for 5.4.7
2015-10-27 01:41:06.10
Output for 5.4.6
2015-10-27 02:59:41.10
Output for 5.4.5
2015-10-27 04:32:57.10
Output for 5.4.4
2015-10-27 06:06:04.10
Output for 5.4.3
2015-10-27 07:47:41.10
Output for 5.4.2
2015-10-27 09:31:33.10
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/Yuaso on line 2
Process exited with code 255.