3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d\TH:i:sP',strtotime('1 sec',1374833280)); echo date('Y-m-d\TH:i:sP',strtotime(1374833280));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-07-26T12:08:01+02:001970-01-01T01:00:00+01:00
Output for 5.1.0 - 5.1.2
2013-07-26T12:08:01P1970-01-01T01:00:00P
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
2013-07-26T12:08:01P137485-10-19T00:00:00P
Output for 5.0.0 - 5.0.2
2013-07-26T00:00:01P137485-10-19T00:00:00P