Re: is_a fix for 5.4 and HEAD
| From: | Alan Knowles | Date: | Thu, 13 Oct 2011 23:54:51 +0000 |
| Subject: | Re: is_a fix for 5.4 and HEAD | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55800@lists.php.net to get a copy of this message | ||
On Thursday, October 13, 2011 11:23 PM, Stas Malyshev wrote:
On 10/13/11 12:39 AM, Alan Knowles wrote:Regards AlanCan someone apply this to HEAD and PHP_5_4, or let me have karma. https://bugs.php.net/patch-display.php?bug_id=55475&patch=final_patch_for_5_4_and_HEAD&revision=latest Thanks Alan+/* {{{ proto bool is_subclass_of(mixed object_or_string, string class_name [, bool allow_string=true]) +/* {{{ proto bool is_a(mixed object_or_string, string class_name [, bool allow_string=false]) This is quite strange - two almost identical functions with completely different default semantics. Yes, and if you can think of a way to depreciate them now so that it does not break BC and could be changed later, please feel free, but I've looked at it quite a bit and could not find any other way.