Re: nowdocs again

From: Date: Wed, 30 Jan 2008 22:33:16 +0000
Subject: Re: nowdocs again
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-35050@lists.php.net to get a copy of this message
Hi, Andi Gutmans wrote:
I think if the syntax is confusing we can go for just a single quote as part of the operator which doesn't make it look like just another plain old string, e.g.: $bar =<<<'FOO
Such a thing is not nice for casual string syntax highlighting in editors. Needs a special rule to handle an opening but not closing single quote .. mhmmm :/ - Markus

« previous php.internals (#35050) next »