3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //2014-01-28 09:43:05.461371 var_dump(strtotime('2014-01-28 09:43:05.461371')); var_dump(date('Y-m-d H:i:s.u', 1390898585));
Output for 5.2.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(1390898585) string(26) "2014-01-28 09:43:05.000000"
Output for 5.0.0 - 5.2.1
int(1390898585) string(21) "2014-01-28 09:43:05.u"
Output for 4.3.0 - 4.4.9
int(-1) string(21) "2014-01-28 09:43:05.u"