Page 1 of 1

__autoload global settings

Posted: Fri Dec 04, 2009 6:03 am
by dejvos
Hi,

I've a next question. Is it possible to turn of globally a autoload for function class_exists?

Thanks.

Re: __autoload global settings

Posted: Fri Dec 04, 2009 6:10 am
by daedalus__
what?

Re: __autoload global settings

Posted: Fri Dec 04, 2009 6:45 am
by dejvos
So class_exists('SomeClass') calls __autoload automaticly. So in framework which I use there is a __autoload() defined, but unfortunately I need some PEAR classes. These classes call the class_exists() function, but PEAR files have their own library, so __autoload doesn't find them and throws error.

I wonder to know if I can switch of this autoload ONLY for class_exists()