3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = time(); $nextDay = $today + 86400 * 45; $day = date("d", $nextDay); echo $day;

preferences:
33.26 ms | 405 KiB | 5 Q