Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57721 invoked from network); 24 Sep 2011 12:07:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Sep 2011 12:07:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:40202] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/45-09862-318CD7E4 for ; Sat, 24 Sep 2011 08:07:47 -0400 Received: by gxk10 with SMTP id 10so3899324gxk.29 for ; Sat, 24 Sep 2011 05:07:45 -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=LbGzV858uWrPfOVVAYW2FuYMo3c4SXfKnhhTCqahFNw=; b=w+op94j/rQNe8x/GCuBapIWyFb2yZrYlFFt/ksoioke9s9EBmJhg5TzOzaU1u9CAQJ FmIFeIqU9GmlZprkJCJ2xOkuLRuB/pmcxlCTuZFW3OjJ8yGexQ90WLSU3amLfo2TcJPq Ei5QkddMko6zay12FrMUzdWpFk8Xb5D9tuJ68= MIME-Version: 1.0 Received: by 10.147.6.22 with SMTP id j22mr4240559yai.29.1316866064948; Sat, 24 Sep 2011 05:07:44 -0700 (PDT) Received: by 10.147.167.7 with HTTP; Sat, 24 Sep 2011 05:07:44 -0700 (PDT) In-Reply-To: <4E7CD221.7020309@oracle.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> <4E7C5CE9.40000@lerdorf.com> <4E7CBE25.5080506@oracle.com> <4E7CCD49.4040502@lerdorf.com> <4E7CCDF6.3060206@oracle.com> <4E7CD0F7.8090304@lerdorf.com> <4E7CD221.7020309@oracle.com> Date: Sat, 24 Sep 2011 14:07:44 +0200 Message-ID: To: Christopher Jones Cc: 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: hannes.magnusson@gmail.com (Hannes Magnusson) On Fri, Sep 23, 2011 at 20:38, Christopher Jones wrote: > > > On 09/23/2011 11:33 AM, Rasmus Lerdorf wrote: >> >> On 09/23/2011 08:20 PM, Christopher Jones wrote: >>> >>> >>> On 09/23/2011 11:17 AM, Rasmus Lerdorf wrote: >>>> >>>> On 09/23/2011 07:13 PM, Christopher Jones wrote: >>>>> >>>>> >>>>> On 09/23/2011 09:15 AM, Matthew Weier O'Phinney wrote: >>>>> >>>>>> I could also see this being an interesting peer-pressure move -- >>>>>> "First >>>>>> to test!", "We tested last week; how come _you_ haven't?", etc. >>>>> >>>>> Speaking of testing, the commit >>>>> http://svn.php.net/viewvc?view=3Drevision&revision=3D317183 >>>>> doesn't have any... >>>>> >>>>> Who amongst the vocal supporters of the change is volunteering for th= is >>>>> task? >>>> >>>> I committed a test about 2 hours before you posted this message: >>>> >>>> http://svn.php.net/viewvc?view=3Drevision&revision=3D317208 >>>> >>>> -Rasmus >>> >>> I don't see is_a or is_subclass_of in that test. =C2=A0Did I miss somet= hing? >> >> Yeah, got the wrong commit when I brought up that link. Had a cached >> copy of my fix for 55767 and the wifi is wonky here. > > No probs. > > Let's see if the people who speak about PHP & testing & compatibility > actually > do care enough about it to submit some tests. Just for the record, the original behavior was covered by tests, but the test was changed when introducing the new behavior. And that is something we actually do quite a bit. Modify existing tests to fit new behavior.. The problem is our tests are all over the place. Testing waaay to many things at once, making it very difficult to spot actually wrong behaviors and broken functionality :( -Hannes