3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-d H:i:s.U');
based on dFSns
Output for 5.6.28, 7.0.20 - 7.2.0
2015-11-27 08:36:15.1448609775
Output for 7.0.6
2016-05-03 19:27:21.1462296441
Output for 7.0.5
2016-04-03 07:48:59.1459662539
Output for 7.0.4
2016-03-10 19:40:52.1457635252
Output for 7.0.3
2016-03-18 20:58:04.1458331084
Output for 7.0.2
2016-03-23 03:07:11.1458698831
Output for 7.0.1
2016-03-24 06:33:36.1458797616
Output for 7.0.0
2016-03-27 08:29:05.1459060145
Output for 5.6.21
2016-05-02 14:36:08.1462192568
Output for 5.6.20
2016-04-10 06:49:32.1460263772
Output for 5.6.19
2016-03-08 03:53:00.1457405580
Output for 5.6.18
2016-03-15 12:43:08.1458042188
Output for 5.6.17
2016-03-20 00:17:23.1458429443
Output for 5.6.16
2016-03-28 09:17:50.1459149470
Output for 5.6.15
2016-03-29 10:07:39.1459238859
Output for 5.6.14
2016-04-02 11:56:10.1459590970
Output for 5.6.13
2016-04-15 16:28:03.1460730483
Output for 5.6.12
2016-04-20 06:54:50.1461128090
Output for 5.6.11
2016-04-24 13:18:57.1461496737
Output for 5.6.10
2016-04-25 15:22:19.1461590539
Output for 5.6.9
2016-04-27 20:31:06.1461781866
Output for 5.6.8
2016-04-30 05:21:49.1461986509
Output for 5.5.35
2016-05-22 22:55:09.1463950509
Output for 5.5.34
2016-04-11 09:00:33.1460358033
Output for 5.5.33
2016-03-09 06:42:49.1457502169
Output for 5.5.32
2016-03-17 16:32:11.1458228731
Output for 5.5.31
2016-03-21 03:22:06.1458526926
Output for 5.5.30
2016-04-01 12:00:26.1459504826
Output for 5.5.29
2016-04-17 06:46:55.1460868415
Output for 5.5.28
2016-04-21 10:10:16.1461226216
Output for 5.5.27
2016-04-22 11:53:21.1461318801
Output for 5.5.26
2016-04-26 18:03:48.1461686628
Output for 5.5.25
2016-04-29 01:25:32.1461885932
Output for 5.5.24
2016-05-24 07:39:53.1464068393
Output for 5.4.44 - 5.4.45
2015-11-27 08:36:17.1448609777
Output for 5.4.43
2015-11-27 08:36:18.1448609778
Output for 5.4.41 - 5.4.42
2015-11-27 08:36:19.1448609779
Output for 5.4.38 - 5.4.40
2015-11-27 08:36:20.1448609780
Output for 5.4.34 - 5.4.37
2015-11-27 08:36:21.1448609781
Output for 5.4.31 - 5.4.32
2015-11-27 08:36:22.1448609782
Output for 5.4.27 - 5.4.30
2015-11-27 08:36:23.1448609783
Output for 5.4.24 - 5.4.26
2015-11-27 08:36:24.1448609784
Output for 5.4.20 - 5.4.23
2015-11-27 08:36:25.1448609785
Output for 5.4.18 - 5.4.19
2015-11-27 08:36:26.1448609786
Output for 5.4.14 - 5.4.17
2015-11-27 08:36:27.1448609787
Output for 5.4.10 - 5.4.13
2015-11-27 08:36:28.1448609788
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/Da8Hd on line 2
Process exited with code 255.