Re: Regression in RecursiveRegexIterator

From: Date: Mon, 06 Oct 2014 01:55:42 +0000
Subject: Re: Regression in RecursiveRegexIterator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-77788@lists.php.net to get a copy of this message
Hi! On 4 Oct 2014, at 03:38, Ivan Enderlin @ Hoa <ivan.enderlin@hoa-project.net> wrote: > Hello :-), > > Does anyone know something about this bug: > https://bugs.php.net/bug.php?id=68128 ? Yeah, I’ve addressed it with a PR: https://github.com/php/php-src/pull/865 Basically, this behaviour was introduced with d81ea16ef14735b97f22702ca1a78c3674fd987e; zend_make_printable_zval () was changed to raise a warning whenever an array is passed as an argument. My suggestion is to ::accept() non-empty arrays instead of attempting to convert them into a string. I *think* that’s a reasonable change :) > > Thanks! > > -- > Ivan Enderlin > Developer of Hoa > http://hoa-project.net/ > > PhD. at DISC/Femto-ST (Vesontio) and INRIA (Cassis) > http://disc.univ-fcomte.fr/ and > http://www.inria.fr/ > > Member of HTML and WebApps Working Group of W3C > http://w3.org/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#77788) next »