3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo date('d-m-Y H:i:s',strtotime(' - 3 day', strtotime('Y-m-d 23:59:59')));
based on tJoEV
Output for 7.1.26 - 7.4.0
29-12-1969 01:00:00