Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace

2007-12-05 Thread Benjamin Schulz
On 05.12.2007, at 17:43, Sebastian Bergmann wrote: Matthias Pigulla schrieb: Given that it was technically feasible, (future) core classes should be in namespaces as well. Or - Introduce namespaces in PHP 6 - Move all functions and classes that are now global into (per-extension) names

Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace

2007-12-05 Thread Sam Barrow
This would be a good idea, if implemented with a compatibility layer to be removed later. ::php ::str ::arr ::ob etc ::ext ::mysql ::mysqli Userland code can then use a namespace such as ::app, or just use the global namespace with no worrie

Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace

2007-12-05 Thread Sebastian Bergmann
Matthias Pigulla schrieb: > Given that it was technically feasible, (future) core classes should > be in namespaces as well. Or - Introduce namespaces in PHP 6 - Move all functions and classes that are now global into (per-extension) namespace(s) - Add a fallback mechanism that looks