Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19896 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6686 invoked by uid 1010); 3 Nov 2005 06:42:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6671 invoked from network); 3 Nov 2005 06:42:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2005 06:42:34 -0000 X-Host-Fingerprint: 213.46.255.21 viefep18-int.chello.at Solaris 8 (1) Received: from ([213.46.255.21:16148] helo=viefep18-int.chello.at) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 28/E9-56573-951B9634 for ; Thu, 03 Nov 2005 01:42:34 -0500 Received: from genuine ([80.108.128.16]) by viefep18-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20051103064230.YFLF5342.viefep18-int.chello.at@genuine>; Thu, 3 Nov 2005 07:42:30 +0100 Received: from [213.164.23.137] (helo=[10.15.10.17]) by genuine with esmtpa (Exim 4.50) id 1EXYkP-0005un-55; Thu, 03 Nov 2005 07:38:55 +0100 Message-ID: <4369B150.2000205@fischer.name> Date: Thu, 03 Nov 2005 07:42:24 +0100 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matteo Beccati CC: internals@lists.php.net References: <4369513B.1020502@beccati.com> In-Reply-To: <4369513B.1020502@beccati.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0 X-Spam-Level: / X-Spam-Report: Spam detection software, running on the system "genuine", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Matteo Beccati wrote: > I newly subscribed to this ML after some time I didn't follow it, so I > beg pardon if I'm posting a question that was already discussed. > > As you know, a few days ago PHP 4.4.1 was released. As current admin of > a widely used PHP project called phpAdsNew, I discovered just today that > there are compatibility problems with the latest PHP4 release. One of > our users preceded me and opened a bug report, which led to a prompt fix > by Ilia: > > http://bugs.php.net/bug.php?id=35067 > > ( and its duplicate: http://bugs.php.net/bug.php?id=35070 ) [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Re: [PHP-DEV] What about a PHP 4.4.1pl1? From: markus@fischer.name (Markus Fischer) Matteo Beccati wrote: > I newly subscribed to this ML after some time I didn't follow it, so I > beg pardon if I'm posting a question that was already discussed. > > As you know, a few days ago PHP 4.4.1 was released. As current admin of > a widely used PHP project called phpAdsNew, I discovered just today that > there are compatibility problems with the latest PHP4 release. One of > our users preceded me and opened a bug report, which led to a prompt fix > by Ilia: > > http://bugs.php.net/bug.php?id=35067 > > ( and its duplicate: http://bugs.php.net/bug.php?id=35070 ) The problem is also that the ChangeLog has no mention of this change of behaviour because it seems this change was done without having a bug to fix (at least not a bug in the database). This change was first made in HEAD ( http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.732&r2=1.733&ty=u ) and then merged to all branches. But it doesn't reference a bug and doesn't describe what it tries to fix (" Make key() and current() take argument by value." doesn't explain much). I also see that the initial change happened in HEAD, 5.1, 5.0 and 4.4 but the revert only happened in HEAD, 5.1 and 4.4. Was 5.0 intentionally left out? The interesting question is: why was this commited to a branch which should take only bug fixes when: - there was no bug reference - no real description what buggy behaviour it tries to fix ? What I found on the list was a discussion started by Dimitry and the explaination was that "... makes it possible to pass return values of functions that return arrays.". "Makes is possible" doesn't sound like fixing a real bug to me. - Markus