3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(new DateTime('@1234'));
Output for 5.4.30 - 7.1.0
DateTime Object ( [date] => 1970-01-01 00:20:34.000000 [timezone_type] => 1 [timezone] => +00:00 )
Output for 5.3.7 - 5.4.29
DateTime Object ( [date] => 1970-01-01 00:20:34 [timezone_type] => 1 [timezone] => +00:00 )