3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<EOT One month ago was {${!${''} = date('Y-m-d H:i:s', strtotime('-1 month'))}}. EOT;

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
155.45 ms | 3326 KiB | 10 Q