Re: 5.4 RecursiveDirectoryIterator

From: Date: Wed, 21 Aug 2013 05:51:08 +0000
Subject: Re: 5.4 RecursiveDirectoryIterator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-68589@lists.php.net to get a copy of this message
Hey: On Tue, Aug 20, 2013 at 9:08 PM, Martin Keckeis <martin.keckeis1@gmail.com> wrote: > Hello together, > > an incompatible change was made to the 5.4 series without any notice. > > It's related to RecursiveDirectoryIterator > https://bugs.php.net/bug.php?id=64228 > > See the source here: > > https://github.com/php/php-src/blob/PHP-5.4/ext/spl/spl_directory.c#L1452 > > > I've never used the "SKIP_DOTS" parameter and so within the 5.4 series it > may work or not... > > Drupal also had such an issue: https://drupal.org/node/1785216 > > Two things could be done IMO: > - revert this change from 5.4 > - mention it in the Upgrade Guide 5.3 -> 5.4 that was a bug, that if you didn't pass SKIP_DOTS , dots should no be skipped. and this bug is also fixed in 5.3 branch. thanks > > Best regards > Martin Keckeis -- Laruence Xinchen Hui http://www.laruence.com/

« previous php.internals (#68589) next »