PHP5.2.11 corrects spl_autoload_functions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PHP5.2.11 corrects spl_autoload_functions

Julien Pauli-2
Just a note to say that PHP5.2.11 corrects the spl_autoload_functions() bug that Zend_Loader_Autoloader tries to emulate. (http://www.php.net/ChangeLog-5.php)
Patch should have been merged to 5.3 branch.

Cheers

Julien.P
Reply | Threaded
Open this post in threaded view
|

Re: PHP5.2.11 corrects spl_autoload_functions

Ralph Schindler-2
Yes, this has been in since 5.3.0.  I am actually suprised that it got
back ported to the 5.2 branch.  Ideally we could use this, but since we
support PHP 5.2.6 onward, we need to keep our autoloader in tact as is.
  Supporting that feature in userland actually take quite a bit of code.

I'll talk to matthew to see if its possible to short cut the user-land
behavior in cases where people are using php 5.2.11.

Thanks for the heads up,
ralph

Julien Pauli wrote:
> Just a note to say that PHP5.2.11 corrects the spl_autoload_functions()
> bug that Zend_Loader_Autoloader tries to emulate.
> (http://www.php.net/ChangeLog-5.php)
> Patch should have been merged to 5.3 branch.
>
> Cheers
>
> Julien.P