Bug #68128 [Com]: Regression in RecursiveRegexIterator

From: Date: Mon, 06 Oct 2014 07:07:07 +0000
Subject: Bug #68128 [Com]: Regression in RecursiveRegexIterator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187877@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68128&edit=1 ID: 68128 Comment by: ivan dot enderlin at hoa-project dot net Reported by: ivan dot enderlin at hoa-project dot net Summary: Regression in RecursiveRegexIterator Status: Open Type: Bug Package: *General Issues PHP Version: master-Git-2014-10-01 (Git) Block user comment: N Private report: N New Comment: PR on Github: https://github.com/php/php-src/pull/865. Previous Comments: ------------------------------------------------------------------------ [2014-10-06 07:06:15] ivan dot enderlin at hoa-project dot net Ok, and so what is the next step? The documentation is wrong and the class does not work as expected. ------------------------------------------------------------------------ [2014-10-06 01:11:49] datibbaw@php.net Tracked the issue down to this commit: http://git.php.net/?p=php-src.git;a=commit;h=d81ea16ef14735b97f22702ca1a78c3674fd987e After the change it no longer silently converts arrays into string("Array") and this affects RecursiveRegexFilterIterator::accept(). ------------------------------------------------------------------------ [2014-10-05 13:26:30] ivan dot enderlin at hoa-project dot net From PHP5.4 to 5.6.1, it fails: http://3v4l.org/msnnF. So this is not really a regression, this is just a bug from a long time (but it worked in 5.3). ------------------------------------------------------------------------ [2014-10-05 12:45:13] ivan dot enderlin at hoa-project dot net Also happens in PHP5.5.19-dev. ------------------------------------------------------------------------ [2014-10-05 10:15:06] ivan dot enderlin at hoa-project dot net Also happens in PHP5.6.2-dev. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=68128 -- Edit this bug report at https://bugs.php.net/bug.php?id=68128&edit=1

« previous php.bugs (#187877) next »