Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55599 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79531 invoked from network); 23 Sep 2011 10:13:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2011 10:13:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:55063] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/15-46707-7DB5C7E4 for ; Fri, 23 Sep 2011 06:13:44 -0400 Received: by eyh6 with SMTP id 6so2088704eyh.29 for ; Fri, 23 Sep 2011 03:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kR9t75IdE3rC3JLoU3QgPXS8sPJnZqC8eowK1CcboD8=; b=VRkjg6kqE6dlFapa+C9osK4rZP+0hR7lmhzub1xQVThuMgyHZ+k2IbB7CV2dojiQr1 Xxp7SKsrA1Zdb0RtZJcBdaDoKr8IhHZInqbxFlwicsHdQNiRxVoD61Un1o5f5DFQT4mo IFd1SnA7QBHxy9H7S76NMU9f+WvYCnnT2nN6o= MIME-Version: 1.0 Received: by 10.213.26.216 with SMTP id f24mr1154928ebc.17.1316772820671; Fri, 23 Sep 2011 03:13:40 -0700 (PDT) Sender: patrick.allaert@gmail.com Received: by 10.213.13.76 with HTTP; Fri, 23 Sep 2011 03:13:40 -0700 (PDT) In-Reply-To: <4E7C5A24.8080305@lerdorf.com> References: <4E790B82.6090805@akbkhome.com> <8C.A0.17510.E4DE97E4@pb1.pair.com> <1316615094.2810.5.camel@guybrush> <1316629502-sup-831@fewbar.com> <20110922134956.GA28577@panix.com> <1316709104-sup-2744@fewbar.com> <1316713382.1290.60.camel@guybrush> <4E7BBA23.2080001@lerdorf.com> <4E7BC6BF.6080702@akbkhome.com> <4E7C5A24.8080305@lerdorf.com> Date: Fri, 23 Sep 2011 12:13:40 +0200 X-Google-Sender-Auth: 1EAjiEyO-dJFb244uOhCS6svR2I Message-ID: To: Rasmus Lerdorf Cc: Alan Knowles , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: is_a() - again - a better fix From: patrickallaert@php.net (Patrick ALLAERT) 2011/9/23 Rasmus Lerdorf : > On 09/23/2011 01:37 AM, Alan Knowles wrote: >> This patch adds an extra parameter 'allow_string' to is_a (default off) >> and is_subclass_of (default on) , >> >> https://bugs.php.net/patch-display.php?bug_id=3D55475&patch=3DIs_a_with_= allow_string_argument_v3&revision=3Dlatest >> >> >> >> It also explains why their behaviour is different. This is a clean, no >> BC break, solution. let's move on and just fix this. > > Ok, executive decision made. Patch committed. We obviously screwed up in > making this change in the 5_3 branch and since at least one distro has > held off in pushing out newer 5.3 builds in order to not break every > existing PEAR package, it is completely clear to me that this needed to > be fixed in 5.3. > > So, a couple of ideas to address cases like this in the future. > > 1. Should we work up a basic PEAR test case that we can add to our > =C2=A0 tests? > > 2. Maybe we should think bigger and put more focus on having large PHP > =C2=A0 frameworks and apps test every RC. Currently we notify them of RCs > =C2=A0 and just hope someone will test and report back, but that obviousl= y > =C2=A0 isn't working. We need a Daniel Brown-like approach to this. Someo= ne > =C2=A0 who is really annoyingly persistent and will hunt down people to > =C2=A0 test RCs and keep a sign-off checklist of projects that have given > =C2=A0 a thumbs-up on an RC. Solution 2: +1 Having a Jenkins instance which would run major framework testsuites against the different versions of PHP? > Oh, and what do we do in 5.4? Philosophically I think Dmitry's original > change was correct, but none of us realized all the code relying > (arguably incorrectly) on the original behaviour. > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php