I haven't been able to run test suite on this because I don't have PHP 5.x installed... ha.
The issue raised in #347 is because $out was set to false and PHP now issues a deprecation notice if you try to implicitly convert a bool to an array. To fix this, I changed $out to being initialized as an empty array, and then at the end of the method, returned false to preserve BC if the array was still empty.
I haven't been able to run test suite on this because I don't have PHP 5.x installed... ha.
The issue raised in #347 is because
$out
was set tofalse
and PHP now issues a deprecation notice if you try to implicitly convert a bool to an array. To fix this, I changed$out
to being initialized as an empty array, and then at the end of the method, returnedfalse
to preserve BC if the array was still empty.