Re: [PHP-DEV] Re: namespace implementation (irritating warning and autoload)

2008-04-06 Thread Julian Reich
The patch didn't apply cleanly against current PHP_5_3. Therefore I attached an adapted version. Sorry, attachment missing: http://www.jreich.com/php/name_resolution.patch Regards, Julian Reich -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

Re: [PHP-DEV] Re: namespace implementation (irritating warning and autoload)

2008-04-06 Thread Julian Reich
e I attached an adapted version. Regards, Julian Reich -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: namespace implementation (irritating warning and autoload)

2008-04-06 Thread Julian Reich
amespaced function and can save lookups at runtime. Furthermore if traits were added to PHP we can simply use "use trait TraitName". So there is no room for confusion because of keyword reuse. I think splitting of "use" was proposed on this list before but was never discussed. Reg

[PHP-DEV] namespace implementation (irritating warning and autoload)

2008-04-05 Thread Julian Reich
I think the current resolution order is a WTF-factor especially for unexperienced users or users coming from other languages. I know that the above arguments might have been already on this list but I couldn't find some definitive decision to keep the current name resolution order

Re: [PHP-DEV] new_object_array()

2004-04-25 Thread Julian Reich
Hi all, Hi Timm, How about: return call_user_func_array( array(new ReflectionClass($className), 'newInstance'), $functionParameters ); I also considered this possibility, but it looked like big overhead. Am I wrong? Yours sincerly, Julian Reich -- PHP Internals - PHP Runtime D

[PHP-DEV] new_object_array()

2004-04-25 Thread Julian Reich
y to get new object ?> I have written an implementation of new_object_array(); <-- see attachment Perhaps some things need to be rewritten ;) I would be happy if you would consider to include this function in the standard distribution of php. Yours sincerly, Julian Reich #include "p

[PHP-DEV] create object

2003-06-07 Thread Julian Reich
ction be implemented and will it do what I assume? Yours sincerly, Julian Reich ([EMAIL PROTECTED]) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php