Testing - PHP
Single versus Double Quotes in a heredoc
Double Quotes
Code
echo <<<"EOT"
Current PHP version: $version
EOT;
Output
Current PHP version: 7.4.3-4ubuntu2.28Single Quotes
Code
echo <<<'EOT'
Current PHP version: $version
EOT;