mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-07 06:26:45 +02:00
Merge pull request #167 from m-takagi/fix-heredoc-example
Remove single quotes from heredoc identifier
This commit is contained in:
@@ -257,7 +257,7 @@ strings without the need for concatenating.
|
||||
<?php
|
||||
$a = 'Variables';
|
||||
|
||||
$str = <<<'EOD' // initialized by <<<
|
||||
$str = <<<EOD // initialized by <<<
|
||||
Example of string
|
||||
spanning multiple lines
|
||||
using nowdoc syntax.
|
||||
|
Reference in New Issue
Block a user