2008. 03. 28, péntek keltezéssel 10.24-kor Robert Cummings ezt írta:
> On Fri, 2008-03-28 at 14:46 +0100, Zoltán Németh wrote:
> > 
> > yeah maybe. you're right, the bytecode is the same. but somewhere I
> > heard that the parsing is the same too - because escaped characters can
> > be in any string, though I'm not that sure about this anymore, as my
> > link proved something else ;)
> 
> Single quoted strings do support some escape characters. As far as I
> know only you can only escape a single quote and a backslash when
> creating a string via single quotes.

yes, but I think the parser would still need to tokenize the string and
verify each token whether it contains an escape character or not - which
should be the same process as tokenizing and checking for escape
character and $ signs.

greets,
Zoltán Németh


> 
> Cheers,
> Rob.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to