Skip to content

Conversation

@lacatoire
Copy link
Contributor

Summary

Document the behavior change in PHP 8.0.0 where getimagesize() now throws a ValueError when an empty string is passed as the filename parameter.

Previously, passing an empty filename would emit an E_WARNING and return false. As of PHP 8.0.0, a ValueError is thrown instead.

Changes:

  • Add documentation in the Errors section
  • Add changelog entry for PHP 8.0.0

Fixes #3714

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.

Not documented. getimagesize() fatal error when invalid filename

1 participant