mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 06:56:33 +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
|
<?php
|
||||||
$a = 'Variables';
|
$a = 'Variables';
|
||||||
|
|
||||||
$str = <<<'EOD' // initialized by <<<
|
$str = <<<EOD // initialized by <<<
|
||||||
Example of string
|
Example of string
|
||||||
spanning multiple lines
|
spanning multiple lines
|
||||||
using nowdoc syntax.
|
using nowdoc syntax.
|
||||||
|
Reference in New Issue
Block a user