3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeStamp = strtotime(time()); $ayer = time() - 1 * 24 * 60 * 60; echo PHP_EOL; echo date(DATE_ATOM, $ayer);

preferences:
29.66 ms | 402 KiB | 5 Q