3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = (new DateTime('yesterday'))->getTimestamp() - time(); echo round( $interval / (60 * 60) );

preferences:
31.53 ms | 402 KiB | 5 Q