Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix array_walk_recursive callback sugnature in PHP 8.0 #163

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant