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

From: Date: Sun, 04 Dec 2005 18:36:19 +0000
Subject: Re: AW: [PHP-DEV] Basic Namespace Requirements
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-21035@lists.php.net to get a copy of this message
On 12/4/05, Marcus Boerger <helly@php.net> wrote: > > On the backslash: It'll be a bitch in places where you need the class name > > as a string (reflection) because \ needs to be escaped withing a string.. > > Think: How many backslashes do you need in a regular expression using double > > quotes to represent a single backslash (try to answer this question without > > trying it out. Was it two? Three? four? Six?) > > Wrong assumption. The \ won't need to be escaped. Err, what about "my\namespace" ? --Wez.

« previous php.internals (#21035) next »