Re: AW: [PHP-DEV] Basic Namespace Requirements

From: Date: Sun, 04 Dec 2005 18:45:14 +0000
Subject: Re: AW: [PHP-DEV] Basic Namespace Requirements
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-21037@lists.php.net to get a copy of this message
On 12/4/05, Marcus Boerger <helly@php.net> 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.

« previous php.internals (#21037) next »