Re: [PHP-DEV] import/use last call
Hei! On Mon, 22 Oct 2007, Stanislav Malyshev wrote: 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. Is there any progress on this? It's also breaking code like: const IMPORT = 3; regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] import/use last call
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 [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] import/use last call
Stanislav Malyshev wrote: 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 'use' is already reserved, it makes the most sense IMO. -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php