Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]

From: Date: Wed, 15 Aug 2007 17:22:26 +0000
Subject: Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages]
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-31585@lists.php.net to get a copy of this message
On 8/15/07, Olivier Hill <olivier.hill@gmail.com> wrote: > It's not about the popularity of a word, but the meaning of it. A package means a collection of related classes and thats not whats happening- it is a scoping level for a particular file. A namespace is a scope which groups related identifiers. Classes have their own namespaces, as do functions. This is adding a namespace to a file, rather than the whole file being executed in global scope (which is obviously what currently happens) -- Marc Gear marcgear@gmail.com

« previous php.internals (#31585) next »