3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = new DateTime(); usleep(10); // wait for 0.001 ms var_dump((new DateTime())->format('u') == $now->format('u'));
based on 6lfO5
Output for 7.1.0 - 7.3.0beta1
bool(false)
Output for 5.6.0 - 7.0.20
bool(true)