Re: namespaces sanity: addition to RFC explaining why Stas'sproposal doesn't work
| From: | Greg Beaver | Date: | Thu, 16 Oct 2008 20:36:15 +0000 |
| Subject: | Re: namespaces sanity: addition to RFC explaining why Stas'sproposal doesn't work | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41166@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
> Hi!
>
>> My point is that for this code:
>>
>> <?php
>> Classname::Method();
>> ?>
>>
>> The proposal does not solve the name conflict. If no one rewrites their
>
> Right, it does not. So doesn't yours - you need to modify the code in
> both cases.
the solution I proposed emits an E_WARNING on the conflict.
Greg