Skip to content

[Sync EN] Document bool support for allowed_classes in unserialize() (#4768) - #1006

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/997-unserialize-allowed-classes
Aug 21, 2026
Merged

julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/997-unserialize-allowed-classes

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs the Spanish translation with php/doc-en#4768 (commit b2acdf5).

  • appendices/migration84/incompatible.xml and reference/var/functions/unserialize.xml: the allowed_classes option throws TypeError and ValueError when it is neither an array of class names nor a bool (a bool is valid, as documented in the options table).
  • EN-Revision updated in both files.

Fixes: #997

@julionc
julionc merged commit 44db0b2 into php:master Aug 21, 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] Document boolean support for allowed_classes in unserialize (#4768)

2 participants