Skip to content

Fix array_replace() / array_replace_recursive() on PHP 8.1#674

Merged
OskarStark merged 1 commit intothecodingmachine:masterfrom
cedric-anne:fix/array-replace
May 13, 2025
Merged

Fix array_replace() / array_replace_recursive() on PHP 8.1#674
OskarStark merged 1 commit intothecodingmachine:masterfrom
cedric-anne:fix/array-replace

Conversation

@cedric-anne
Copy link
Contributor

These functions were returning null prior to PHP 8.0 when unexpected parameter types were passed. Now an error is thrown.
See php/doc-en#1649.

@OskarStark
Copy link
Collaborator

Thank you!

@OskarStark OskarStark merged commit eed82f1 into thecodingmachine:master May 13, 2025
10 checks passed
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.

2 participants