3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hoy = strtotime(date("Y-m-d").' 04:00:00'); echo $hoy; echo "\n"; echo strtotime(date("Y-m-d", strtotime("-1 day")).' 04:00:00');

preferences:
41.26 ms | 402 KiB | 5 Q