Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55431 invoked from network); 13 Oct 2011 23:55:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2011 23:55:45 -0000 Authentication-Results: pb1.pair.com header.from=alan@akbkhome.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=alan@akbkhome.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain akbkhome.com designates 202.81.246.113 as permitted sender) X-PHP-List-Original-Sender: alan@akbkhome.com X-Host-Fingerprint: 202.81.246.113 246-113.netfront.net Received: from [202.81.246.113] ([202.81.246.113:60566] helo=246-113.netfront.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/C0-49888-B7A779E4 for ; Thu, 13 Oct 2011 19:55:43 -0400 Received: from wideboyhd.local ([192.168.0.28]) by akbkhome.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Mailfort v1.2) (envelope-from ) id 1REV75-0000im-Hn for internals@lists.php.net; Fri, 14 Oct 2011 07:55:13 +0800 Message-ID: <4E977A4B.4020609@akbkhome.com> Date: Fri, 14 Oct 2011 07:54:51 +0800 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: internals@lists.php.net References: <4E969596.4090704@akbkhome.com> <4E970257.2010906@sugarcrm.com> In-Reply-To: <4E970257.2010906@sugarcrm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-mailfort-sig: 6b6b951bf156ddd5f62f88d0ed10fd1d Subject: Re: [PHP-DEV] is_a fix for 5.4 and HEAD From: alan@akbkhome.com (Alan Knowles) On Thursday, October 13, 2011 11:23 PM, Stas Malyshev wrote: > On 10/13/11 12:39 AM, Alan Knowles wrote: >> Can 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. Regards Alan