Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace
| From: | Sebastian Bergmann | Date: | Wed, 05 Dec 2007 16:43:57 +0000 |
| Subject: | Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33750@lists.php.net to get a copy of this message | ||
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 up mysqli_query() as query()
in the MySQLi extension's namespace for PHP 6.0, drop that BC
layer in PHP 6.1
Not saying that I would want this (I don't think I do), just mentioning
the option.
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69