3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ts = (new DateTime)->format('U'); var_dump(is_float($tmp = $ts * 1) ? $ts : $tmp);
based on GS3Q9
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6
int(1499293614)
Output for hhvm-3.15.4
int(1499293615)