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) 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


What about adding namespaced aliases for internal classes as a start (basically: class spl::FileInfo extends SplFileInfo) and drop the old names (SplFileInfo) in PHP6 and keep only the new ones.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to