On Wed, Mar 12, 2008 at 10:05 AM, Gustavo Narea <[EMAIL PROTECTED]> wrote:
> Hello all,
>
>  I'm wondering what's wrong with the use of __autoload(), since I see that
>  projects like the Zend Framework don't use it and prefer to require_once
>  each required file.
>
>  Thanks in advance.
>  --
>  Gustavo Narea.
>  http://gustavonarea.net/
>
>  Get GNU/Linux! http://www.getgnulinux.org/
>
>
>  --
>  PHP General Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Use spl autoload register instead.  This way your app and dependent
libraries can have their own autoloaders.

http://us2.php.net/manual/en/function.spl-autoload-register.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to