Skip to content

Conversation

@the-csaba
Copy link

In PHP 8.0 the array_walk and the array_walk_recursive functions callback signature changed.
They does not accept reference for the second (or third) parameter anymore.
Unfortunately this fact only documented for the array_walk function.
See here: https://www.php.net/manual/en/function.array-walk.php#refsect1-function.array-walk-changelog

In PHP 8.0 the `array_walk` and the `array_walk_recursive` functions callback signature changed. They does not accept reference for the second (or third) parameter. Unfortunately this fact only documented for the `array_walk` function. See here: https://www.php.net/manual/en/function.array-walk.php#refsect1-function.array-walk-changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant