Re: my last attempt at sanity with namespaces
| From: | Greg Beaver | Date: | Fri, 17 Oct 2008 20:09:20 +0000 |
| Subject: | Re: my last attempt at sanity with namespaces | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41246@lists.php.net to get a copy of this message | ||
Stefan Walk wrote:
> On Friday 17 October 2008 04:02:32 Gregory Beaver wrote:
>> Hi Stas,
>>
>> This is not what is proposed. The E_WARNING is *only* on a name
>> conflict. Please re-read or try the patch:
>>
>> http://pear.php.net/~greg/resolve_conflict.patch.txt
>>
>> Greg
>
> Any particular reason why it defaults to seeing it as a namespace member
> function and not as a static method call? I'd guess it "guesses wrong" more
> often this way.
It avoids autoload attempts for namespace functions.
Greg