3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('r', strtotime('invalid_string')), PHP_EOL; echo date('r', strtotime('-1 monthZ')), PHP_EOL; echo date('r', strtotime('-1 monthsx')), PHP_EOL;

preferences:
43.4 ms | 402 KiB | 5 Q