Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76457 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56516 invoked from network); 12 Aug 2014 22:23:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2014 22:23:05 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.75 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.75 smtp75.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.75] ([108.166.43.75:44215] helo=smtp75.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/81-48064-7C39AE35 for ; Tue, 12 Aug 2014 18:23:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 6B85C180972; Tue, 12 Aug 2014 18:23:45 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp2.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 1218B18095E; Tue, 12 Aug 2014 18:23:44 -0400 (EDT) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local ([UNAVAILABLE]. [74.85.23.222]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.2.10); Tue, 12 Aug 2014 22:23:45 GMT Message-ID: <53EA93F0.8090104@sugarcrm.com> Date: Tue, 12 Aug 2014 15:23:44 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Pierre Joye , "ab@php.net" , PHP Internals Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: glob() bug 47358 From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! Recently bug 47358 came to my attention, and there's something strange with it. It is fixed only for 5.6, not listed in NEWS for even that version, but the log contains these: commit f566b4d32183032663ecb35895c0dafd8e051853 Merge: 7a13ce6 10a2c0d Author: Pierre Joye Date: Tue Jan 8 15:16:35 2013 +0100 Merge branch 'PHP-5.5' * PHP-5.5: - fix bug #47358, glob returns error, should be empty array() - NEWS entry for #50524 commit 10a2c0d574be62be1f0224d23909e27e74c87445 Merge: f4142a9 2fb7cd3 Author: Pierre Joye Date: Tue Jan 8 15:13:40 2013 +0100 Merge branch 'PHP-5.4' into PHP-5.5 * PHP-5.4: - fix bug #47358, glob returns error, should be empty array() - NEWS entry for #50524 However, no trace of fixes for 47358 in either 5.4 or 5.5. Could somebody explain what happened there? I couldn't find any discussion on this bug except for this: http://grokbase.com/t/php/php-internals/11a9mgeftd/bug-47358-unexpected-behaviour Is there any reason why the fix is only in 5.6? Any reason why it's not in the NEWS? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/