Re: T_IMPORT vs. T_USE
| From: | Marcus Boerger | Date: | Thu, 18 Oct 2007 17:19:03 +0000 |
| Subject: | Re: T_IMPORT vs. T_USE | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32860@lists.php.net to get a copy of this message | ||
Hello Stanislav,
why even discuss import? We already decided for use and reserved is as a
keyword long ago. And for the other one, well package is anyway much better.
marcus
Thursday, October 18, 2007, 7:04:28 PM, you wrote:
>> Others: concern about T_IMPORT breaking BC is also moot. There is an
>> instant parse error on this declaration:
>>
>> <?php
>> namespace whatever;
>> ?>
> This is not related to BC. What is related to BC is that applications
> like Propel or Wordpress stopping working with 5.3 since they use import
> as identifier. Unfortunately we also have some package using "namespace"
> as identifier (e.g. ezPublish for methods, mediawiki for class) but not
> too many.
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
Best regards,
Marcus