3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = new DateTime(); var_dump($test->format('u'));
based on l4mo2
Output for 7.2.0
string(6) "005152"
Output for 7.1.10
string(6) "003268"
Output for 7.1.7
string(6) "004509"
Output for 7.1.6
string(6) "012768"
Output for 7.1.5
string(6) "009960"
Output for 7.1.0
string(6) "004079"
Output for 5.3.21 - 7.0.20
string(6) "000000"