Skip to content

Conversation

ImperialCrise
Copy link

  • In appendices/migration84/incompatible.xml, update the description of the allowed_classes option to indicate it may be an array of class names or at boolean.
  • In reference/var/functions/unserialize.xml, clarify that unserialize() throws TypeError and ValueError if options.allowed_classes is not an array or boolean.

@ImperialCrise
Copy link
Author

This stems from the issue that arose because the documentation wasn’t clear:
php/php-src#19082

- In appendices/migration84/incompatible.xml, update the description of the
  allowed_classes option to indicate it may be an array of class names or at
  boolean.
- In reference/var/functions/unserialize.xml, clarify that unserialize() throws
  TypeError and ValueError if options.allowed_classes is not an array or boolean.
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