Re: nowdocs again

From: Date: Wed, 30 Jan 2008 19:21:00 +0000
Subject: Re: nowdocs again
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-35038@lists.php.net to get a copy of this message
On Wed, 30 Jan 2008, Stanislav Malyshev wrote: > > Also looking at the discussion, I can see only 6 people involved > > (including Dmitry), which most likely means nobody is really > > interested in that "nowdoc" and this is yet another reason not to > > add it. > > I don't see how 'foo' is anything but obvious to anybody that gives > himself a second to actually think about it. I don't see how this is obvious. Since nowdocs isn't an existing concept, someone who comes across it isn't going to recognize the syntax as special. Therefore, I don't know why people would assume that a delimiter token surrounded by single quotatation marks (i.e. a nowdoc) isn't just a regular delimiter token that happens to have single quotation marks around it (i.e. a heredoc). I would expect people to be confused. -adam -- adam@trachtenberg.com | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!

« previous php.internals (#35038) next »