Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PHP 5.2 notice by ensuring
$memo
is always an array (#7120)
* Failing test case for PHP 5.2 throwing notice * Use a scalar value, not null, to truly reproduce the issue * Fix PHP 5.2 notice by ensuring `$memo` is always an array `array_reduce()` only permits `$initial` to be a mixed variable as of PHP 5.3 * Add a comment to why this is here
- Loading branch information