Skip to content

More precise unserialize() parameter types#5821

Open
takaram wants to merge 1 commit into
phpstan:2.2.xfrom
takaram:unserialize_options
Open

More precise unserialize() parameter types#5821
takaram wants to merge 1 commit into
phpstan:2.2.xfrom
takaram:unserialize_options

Conversation

@takaram
Copy link
Copy Markdown
Contributor

@takaram takaram commented Jun 7, 2026

  • Values of allowed_classes must be class-string
  • max_depth was added in PHP 7.4

https://www.php.net/unserialize

- Values of `allowed_classes` must be `class-string`
- `max_depth` was added in PHP 7.4

https://www.php.net/unserialize
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.

1 participant