Re: __autoLoad php5 callback is being triggered for every class ?

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

 



php@xxxxxxxxxxxxxxxx wrote:
I'm experiencing some issues with autoLoad with pear packages. DB_Error is
contained within the DB.php, but my autoload method is trying to split the
underscores with forward slashes and then load. Supressing errors with @
still doesnt work, its triggering a php error. Any ideas ?

Try loading DB before DB_Error because __autoload() only gets called if a class is not already loaded.


--
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