import/use last call
| From: | Stanislav Malyshev | Date: | Mon, 22 Oct 2007 21:28:32 +0000 |
| Subject: | import/use last call | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-32916@lists.php.net to get a copy of this message | ||
Hi all!
Since many packages (wordpress, propel, horde, phing, etc.) use "import" as either class or function name, and we couldn't find a good solution to make it work with import keyword without going into all kinds of troublesome hacks, so we are thinking about replacing 'import' keyword with 'use' keyword, which is already reserved.
If you know any reason why this may be a problem - please speak now (or forever hold your peace :). Please do not answer this email with proposals to replace 'namespace' keyword with 'package', etc. - it will be offtopic. For this topic please let's discuss only using keyword 'use' instead of 'import'.
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com