3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = new Datetime('2012-07-11 18:46:07.517569'); echo $date->format('u');
Output for 5.3.20 - 5.3.29, 5.4.10 - 7.1.0
517569
Output for 5.2.11 - 5.3.19, 5.4.0 - 5.4.9
517568