3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime(); echo $dt->format("Y-m-d\TH:i:s.u");
based on BY7Df
Output for 7.2.1, 7.3.1
2017-07-10T11:44:52.000072
Output for 7.3.0
2017-07-10T11:44:52.000082
Output for 7.2.13
2017-07-10T11:44:52.039254
Output for 7.2.12
2017-07-10T11:44:52.071039
Output for 7.2.11
2017-07-10T11:44:52.015516
Output for 7.2.10
2017-07-10T11:44:52.006929
Output for 7.2.9
2017-07-10T11:44:52.013358
Output for 7.2.8
2017-07-10T11:44:52.000088
Output for 7.2.7
2017-07-10T11:44:52.005447
Output for 7.2.6
2017-07-10T11:44:52.009826
Output for 7.2.5
2017-07-10T11:44:52.000112
Output for 7.2.4
2017-07-10T11:44:52.000067
Output for 7.2.3
2017-07-10T11:44:52.000089
Output for 7.2.2
2017-07-10T11:44:52.000081
Output for 7.2.0
2017-07-10T11:44:52.000080
Output for 7.1.25
2017-07-10T11:44:52.009204
Output for 7.1.20
2017-07-10T11:44:52.003547
Output for 7.1.10
2017-07-10T11:44:52.096563
Output for 7.1.7
2017-07-10T11:44:52.008324
Output for 7.1.6
2017-07-10T11:44:52.019724
Output for 7.1.5
2017-07-10T11:44:52.014902
Output for 7.1.4
2017-07-10T11:44:52.016577
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.20, 7.1.3
2017-07-10T11:44:52.000000
Output for 7.1.2
2017-07-10T11:44:52.015331
Output for 7.1.1
2017-07-10T11:44:52.003978
Output for 7.1.0
2017-07-10T11:44:52.004267
Output for hhvm-3.15.4
2017-07-10T11:44:53.000000