Today I found myself looking up the PHP heredoc syntax. It was cool to learn that you can use {$var} syntax to embed variable data in a heredoc.
PHP heredoc syntax
Reply
Today I found myself looking up the PHP heredoc syntax. It was cool to learn that you can use {$var} syntax to embed variable data in a heredoc.
Today I used the PHP for the first time.
$data = <<<EOF my data EOF; echo $data;