Skip to content

Conversation

@cedric-anne
Copy link
Contributor

According to the documentation:

As of PHP 8.0.0, a ValueError is thrown if the number of elements in keys and values does not match. Prior to PHP 8.0.0, a E_WARNING was emitted instead.

Copy link
Collaborator

@silasjoisten silasjoisten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cedric-anne cedric-anne changed the title Fix array_combine() on PHP 8.0 Fix array_combine() on PHP 8.1 May 13, 2025
@silasjoisten silasjoisten merged commit bf4c4c9 into thecodingmachine:master May 13, 2025
10 checks passed
@cedric-anne cedric-anne deleted the fix/array-combine branch May 13, 2025 18:22
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