On 12/4/05, Marcus Boerger <[EMAIL PROTECTED]> wrote:
> >> Wrong assumption. The \ won't need to be escaped.
> > Err, what about "my\namespace" ?
>
> That would be the string "my" <newline> "namespace".

Exactly.

> As a classname it would be "class namespace in namespace my".
> I guess your point is how to use that in ""-$-expressions, right?
>   $bla = "${foo\bar::constant}";

Thus it does need to be escaped when used in double-quoted strings.

--Wez.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to