Re: __autoload() and class_exists()
| From: | Marcus Boerger | Date: | Tue, 22 Feb 2005 20:08:00 +0000 |
| Subject: | Re: __autoload() and class_exists() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15154@lists.php.net to get a copy of this message | ||
Hello Stephan,
Tuesday, February 22, 2005, 8:59:27 PM, you wrote:
> Hi,
> I just found this strange behaviour in PHP5:
> When using class_exists() to test, whether a class exists, the magic
> function __autoload() is called:
Expected behavior that can be changed:
proto bool class_exists(string classname [, bool autoload])
"RTFM" or is it undocumented?
Best regards,
Marcus mailto:helly@php.net