Hello :-),
Does anyone know something about this bug:
https://bugs.php.net/bug.php?id=68128 ?
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/
Hi!
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/