3v4l.org

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

preferences:
38.25 ms | 402 KiB | 5 Q