Re: __autoload alternative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shelley schreef:
Hi all,

Is there any way to auto load a class without using __autoload() function?

As I want to load some classes under different paths, and that caused
redeclare of __autoload function.

Any suggestions appreciated.

spl_autoload_register()

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

allows you to chain autoloaders




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux