Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54878 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24316 invoked from network); 24 Aug 2011 12:51:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2011 12:51:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:55712] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/0F-48631-1E3F45E4 for ; Wed, 24 Aug 2011 08:51:46 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 6AFBE6075E; Wed, 24 Aug 2011 15:50:30 +0300 (IDT) Received: from IL-EX2.zend.net ([fe80::6d27:be2c:57f3:272a]) by il-ex2.zend.net ([::1]) with mapi id 14.01.0255.000; Wed, 24 Aug 2011 15:50:56 +0300 To: "alan@akbkhome.com" CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] PHP 5.3.8 Released! Thread-Index: AQHMYa7ZctuT+UGc90uFwsF80NSTy5UrDJAAgABg/QCAAB+qAIAAP6dQ///d6ICAADNWAP//0rEAgAA1KYD//9KDgAAGT0cA///U7AD//8ztgA== Date: Wed, 24 Aug 2011 12:50:56 +0000 Message-ID: <887FE7CFF6F8DE4BB3A9535F53AFD06A495AB2E5@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> In-Reply-To: <4E54F0D6.9030005@akbkhome.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [212.199.177.84] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] PHP 5.3.8 Released! From: zeev@zend.com (Zeev Suraski) Well, I have to admit this is mighty convincing :) Wasn't aware of this us= e-case. Falls under the category of mass breakage I guess. Zeev > -----Original Message----- > From: alan@akbkhome.com [mailto:alan@akbkhome.com] > Sent: Wednesday, August 24, 2011 3:39 PM > To: Zeev Suraski; internals@lists.php.net > Subject: Re: [PHP-DEV] PHP 5.3.8 Released! >=20 > " If it's a clear bug, which IMHO this is_a() issue was - then unless we'= re > looking at code breakage at massive scale, it should be fixed. " >=20 > mmh.. how much breakage did you want. >=20 > PEAR::isError is basically is_a($input, 'PEAR_Error'); it's been like tha= t for > 8 > years.... >=20 > google search for PEAR::isError shows 16,600 matches.. >=20 > http://www.google.com/codesearch#search/&q=3DPEAR::isError%20lang:php& > type=3Dcs > &type=3Dcs> >=20 > for is_a you get 149K. and this is only public code... >=20 > It's big... Luckily quite a few people are on holiday this month and will= not > upgrade too soon. >=20 > Regards > Alan >=20 >=20 >=20 > On Wednesday, August 24, 2011 08:22 PM, Zeev Suraski wrote: > > > > It has nothing to do with security (criticality is subjective so I'm le= aving it > aside). The 3 bugs I mentioned (2 from 5.3.7 and one imaginary) have not= hing > to do with security, and yet we fixed them (or would have fixed them), de= spite > the potential for people out there relying on the old behavior. It boils = down to > evaluating the severity of the bug and the likelihood that it'll break co= de. If it's > a clear bug, which IMHO this is_a() issue was - then unless we're looking= at > code breakage at massive scale, it should be fixed. > > > > Again, I'm almost religious about retaining compatibility (even across = major > versions), but if we had a piece of code that was returning clearly the w= rong > value, we can't ignore it because some (my guess very few but who knows) > relied on this behavior. > > > > Zeev > >