Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54919 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80989 invoked from network); 25 Aug 2011 08:43:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2011 08:43:02 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:47107] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/71-06524-51B065E4 for ; Thu, 25 Aug 2011 04:43:02 -0400 Received: by yxk30 with SMTP id 30so1951196yxk.29 for ; Thu, 25 Aug 2011 01:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zdNj6v9+5WqPbpqJAEpcsnhc8mIWbatKKjKDSRjeOIU=; b=TOfDusfxKfuN/Np7R+Z6W4ez2bKJWbuF5MfMe+PgTJbnmRXxTvVEuRq4wVOLvyDyrm ji8n0JymcEucTC1JiTkraDUZA1zSAlrcF2asJe2JAA1Mt8LHW6/Ho7srUeVKtJz1JMdP qPxLRSOWN4cGcyEOUh68FXaku+IQM2xLGi8eA= MIME-Version: 1.0 Received: by 10.150.163.21 with SMTP id l21mr586405ybe.143.1314261778838; Thu, 25 Aug 2011 01:42:58 -0700 (PDT) Received: by 10.147.114.7 with HTTP; Thu, 25 Aug 2011 01:42:58 -0700 (PDT) In-Reply-To: <887FE7CFF6F8DE4BB3A9535F53AFD06A495AD74C@il-ex2.zend.net> References: <1314115682.2635.98.camel@guybrush> <4E545A6C.60704@akbkhome.com> <4E54C658.6070209@akbkhome.com> <887FE7CFF6F8DE4BB3A9535F53AFD06A495AAA2F@il-ex2.zend.net> <887FE7CFF6F8DE4BB3A9535F53AFD06A495AAE17@il-ex2.zend.net> <887FE7CFF6F8DE4BB3A9535F53AFD06A495AB00F@il-ex2.zend.net> <887FE7CFF6F8DE4BB3A9535F53AFD06A495AB153@il-ex2.zend.net> <4E54F0D6.9030005@akbkhome.com> <4E552E46.6070405@sugarcrm.com> <4E5562E1.3070005@lsces.co.uk> <4E556E47.3070301@sugarcrm.com> <4E558B62.1040607@akbkhome.com> <4E55A0F3.7090002@sugarcrm.com> <4E55AA89.5050505@akbkhome.com> <887FE7CFF6F8DE4BB3A9535F53AFD06A495AD74C@il-ex2.zend.net> Date: Thu, 25 Aug 2011 10:42:58 +0200 Message-ID: To: Zeev Suraski Cc: "alan@akbkhome.com" , Stas Malyshev , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PHP 5.3.8 Released! From: pierre.php@gmail.com (Pierre Joye) On Thu, Aug 25, 2011 at 10:39 AM, Zeev Suraski wrote: >> -----Original Message----- >> From: Pierre Joye [mailto:pierre.php@gmail.com] >> Sent: Thursday, August 25, 2011 11:31 AM >> To: alan@akbkhome.com >> Cc: Stas Malyshev; internals@lists.php.net >> Subject: Re: [PHP-DEV] PHP 5.3.8 Released! >> >> On Thu, Aug 25, 2011 at 3:51 AM, alan@akbkhome.com >> wrote: >> >> > BTW. we could really do with a searchable archive of php.dev + interna= ls... >> > - It's pretty difficult to find out if this was ever discussed before.= . >> >> Again, it was discussed already and the argument of using instanceof was= used >> to deprecate is_a (along other arguments). I see no point to argue again= about >> that. It was a mistake to change it again in 5.3, Zeev realized the use = in this >> exact case, let move on now. Revert that in 5.3 and do it only in 5.4. > > Just so that my position is clear on the matter: > - I still think that is_a() is working properly the way it does now, afte= r the change. > - I think the code in isError() is wrong, and should be fixed. > - Had we (the collective we) known that fixing is_a() would result in suc= h breakage, it would have probably been wise not to fix it in 5.3.x, and wa= it for 5.4 for this purpose. > - Given that we've already done it - I wouldn't revert it. Fix it in PEAR= . =A0That's the only way to create something that works across all versions= of 5.3.x. I won't battle endlessly to get that fixed back again (you will always find smtg else to keep that thing in anyway ;-) but it does confirm what I said earlier about changing behaviors in patch releases. This is something we must deal with much more carefully. And using x.y.0 tests as base is a good start, also the BC breakages are now covered by the RFC, let stick to that for 5.4.x. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org