Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45632 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35461 invoked from network); 22 Sep 2009 21:22:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2009 21:22:40 -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; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.154 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.154 fg-out-1718.google.com Received: from [72.14.220.154] ([72.14.220.154:16516] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/70-48603-E1049BA4 for ; Tue, 22 Sep 2009 17:22:39 -0400 Received: by fg-out-1718.google.com with SMTP id d23so53637fga.11 for ; Tue, 22 Sep 2009 14:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=8iWVIqvLB3O4ldfAb5OwIdhFVZyJ/ephdMBjtfPLcHQ=; b=MhG5uNJmU1TNYlMdJrhtXMjQzKAyHmLf+BojqsSA/xbuDXH0njYVHpKHQdqfdn0y3/ aH634+PAosGfehp+MfSbEH8y26dN23MqZrvxRTfWgVFE3E0MWxlHtFmgf18Mznp1Ga57 BW34a8Ssnrax9DI9zsYQNL1BwWZb0ONucMYz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oallK8ZdXqnJd/0bXJQAyOxiOhrXNFxAU28plWwEuFFYHfhj4hlZSpszB4UxLZH4VY kFmHrmV/p77jezXZA9Yk7PRfoxIX8OjVvLs7uadvjCNNNG776CiLLIG1LrTip/zS9a+t 0Uq1N3TT4gDG2PtmrRz+BnPD69jMV4CO4z32w= MIME-Version: 1.0 Received: by 10.86.17.27 with SMTP id 27mr1330737fgq.31.1253654555748; Tue, 22 Sep 2009 14:22:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Sep 2009 23:22:35 +0200 Message-ID: <7f3ed2c30909221422m516b0c16pfb2652ffc55ff1ae@mail.gmail.com> To: Pierre Joye Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] BC break in stable branches From: hannes.magnusson@gmail.com (Hannes Magnusson) On Tue, Sep 22, 2009 at 19:46, Pierre Joye wrote: > hi, > > A small reminder about what we may not do :) > > It would rock if we don't introduce behaviors changes in 5.2 anymore > as it is really meant for security fixes only. The last in date is I find it very hard to believe that "over 75 bug fixes" were all security related > breaking something that was working for the last ten 5.2 releases: > > http://bugs.php.net/bug.php?id=44144 > > It could be seen as logical and harmless but it can have dramatic side > effects, especially for something as critical than autoload. Fortunately, making it very obvious to see your application is failing as it doesn't work at all. It however isn't in the autoloader. Its in a function that returns all SPL autoloaders. And a fun fact: Is barely documented. Just like ~50% of the rest of the SPL stuff. This is a pure bugfix which was fixed over 2 _years_ ago. Thats quite some time to wait for an obvious bugfix. If people had workaround for this bug (I'm not sure how that is actually possible, as the returned value made no sense and you have no chance of getting the real object back) then they would have implemented the expected behavior too, hence not breaking anything. And. It was not considered as BC break according to the 5.3 release notes. Just a good old bugfix. Its also a bit funny that a guy from symfony reported that ticket, especially since it was a symfony guy who reported that bug to me... -Hannes