Re: Re: optimilize web page loading
| From: | Zoltán Németh | Date: | Fri, 28 Mar 2008 14:30:43 +0000 |
| Subject: | Re: Re: optimilize web page loading | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272223@lists.php.net to get a copy of this message | ||
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.