Skip to content

[Sync-En] in_array(): clarify the loose comparison behaviour as of PHP 8.0 - #1198

Merged
PhilDaiguille merged 1 commit into
php:masterfrom
lacatoire:sync-en/1185-in-array
Sep 1, 2026
Merged

[Sync-En] in_array(): clarify the loose comparison behaviour as of PHP 8.0#1198
PhilDaiguille merged 1 commit into
php:masterfrom
lacatoire:sync-en/1185-in-array

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5519 (commit 40514c7): the note on non-strict mode now describes the PHP 8.0 string/number comparison and the remaining loose-comparison pitfalls. EN-Revision updated.

Fixes: #1185

@PhilDaiguille
PhilDaiguille merged commit 09a9f90 into php:master Sep 1, 2026
4 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.

[Sync EN] Clarify in_array() strict comparison behavior for PHP 8.0+ (#5519)

2 participants