3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $interval = (new DateTime('yesterday'))->getTimestamp() - time(); echo ( $interval / (60 * 60) );
Output for 7.0.20
-36.603611111111