3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime)->format('Y-m-dTH:m:ss.sZ'); echo "\n"; echo date('yyyy-MM-ddThh:mm:ss.sssTZD');
based on WR7SN
Output for 5.6.0 - 5.6.9, 5.6.11 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.3, 7.1.5 - 7.3.0rc3
2017-07-11CEST21:07:4444.447200 17171717-JulJul-1111CEST0909:0707:4444.444444CEST7200Tue
Output for 7.1.4
2017-07-11CEST21:07:4444.447200 17171717-JulJul-1111CEST0909:0707:4545.454545CEST7200Tue
Output for 5.6.10
2017-07-11CEST21:07:4545.457200 17171717-JulJul-1111CEST0909:0707:4545.454545CEST7200Tue