echo <<<EOT
One month ago was ${!${''} = date('Y-m-d H:i:s', strtotime('-1 month'))}. EOT;
https://stackoverflow.com/questions/104516/calling-php-functions-within-heredoc-strings
No hay comentarios:
Publicar un comentario