Re: 回复: [PHP-DEV] Re: bugs needs fix before 5. 4.1
| From: | Yasuo Ohgaki | Date: | Sat, 31 Mar 2012 08:12:50 +0000 |
| Subject: | Re: 回复: [PHP-DEV] Re: bugs needs fix before 5. 4.1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-59257@lists.php.net to get a copy of this message | ||
2012/3/31 reeze <reeze.xia@gmail.com>:
> Hi,
> From the NEWS file :
>
> + . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument
> to
> + is_a and is_subclass_of). (alan_k)
>
> The 3rd argument is add to let user choose autoload or not, but not a string
> or not.
>
> so maybe we can make it more clear.
It seems 3rd parameter is used only to deny class name(string).
This certainly prevents autoloading, but I'm not sure if this is intended.
I'll read the bug report and figure out.
--
Yasuo Ohgaki
yohgaki@ohgaki.net