Re: is_a() triggers __autoload() in 5.3.7
| From: | Kalle Sommer Nielsen | Date: | Mon, 22 Aug 2011 06:10:28 +0000 |
| Subject: | Re: is_a() triggers __autoload() in 5.3.7 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54767@lists.php.net to get a copy of this message | ||
Hi
2011/8/22 Mads Lie Jensen <mads@gartneriet.dk>:
> Hi.
>
> After upgrading to php 5.3.7, whenever I use is_a($object, 'ClassName');
> the autoloader of classes is now called.
>
> This did not happen in earlier versions of php 5.3 that I used before.
> But I cannot find any mention of it anywhere, no open bugs for it, and
> nothing in the changelogs.
>
> Is it a bug or is it intentional that it has started behaving this way?
I'm unable to reproduce your case in 5.3.4RC1, 5.3.7 and 5.3-svn:
http://pastie.org/2410070
Please open a bug report [1] and attach a script to reproduce the
behaviour you are seeing (should be a 10 liner script for this
incident)
[1] http://bugs.php.net/
--
regards,
Kalle Sommer Nielsen
kalle@php.net