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
Best regards
Martin Keckeis
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=64228See the source here:
https://github.com/php/php-src/blob/PHP-5.4/ext/spl/spl_directory.c#L1452I'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/
Hello,
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
Yeah i understand that it was a bug, but the bugfix was a BC break (even if
small)
Maybe just mention it somewhere shortly: Upgrade guide or doc of
__construct()
Best regards