I for one would prefer the

<<
classes:

1) check current namespace
2) autoload if possible
3) fail

functions:

1) check current namespace
2) check internal
3) fail
>>

I think this  a good approach. I don't know how biased I am as I use
the autoloader quite alot but it seems reasonable to me.






On Mon, Sep 15, 2008 at 12:51 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> Hi!
>
>> 1) check current namespace
>> 2) autoload if possible
>> 3) fail
>>
>> functions:
>>
>> 1) check current namespace
>> 2) check internal
>> 3) fail
>>
>> Load order would matter for functions, but the risk is worth the benefit.
>>
>> I believe the initial implementation of namespaces had this order for
>> classes, so Dmitry's first patch would have the necessary changes.
>
> That's exactly the mode that I described as second non-contradictory mode. I
> would like to know how many people here feel it is better than what we have
> now. I know many people right now may not be reading the list due to the
> Zend Conference so we'd have to wait some time to get a good feedback on
> that.
> --
> 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
>
>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to