Skip to content

Document ValueError for empty filename in getimagesize()#5239

Merged
cweiske merged 1 commit intophp:masterfrom
lacatoire:fix/issue-3714-getimagesize-valueerror
Mar 6, 2026
Merged

Document ValueError for empty filename in getimagesize()#5239
cweiske merged 1 commit intophp:masterfrom
lacatoire:fix/issue-3714-getimagesize-valueerror

Conversation

@lacatoire
Copy link
Copy Markdown
Member

@lacatoire lacatoire commented Feb 1, 2026

Fixes #3714

Document the ValueError thrown by getimagesize() for empty filenames since PHP 8.0.0.

Happy to adjust if needed.

@cweiske cweiske merged commit 6bb90d2 into php:master Mar 6, 2026
2 checks passed
@cweiske
Copy link
Copy Markdown
Contributor

cweiske commented Mar 6, 2026

Thank you!

@lacatoire lacatoire deleted the fix/issue-3714-getimagesize-valueerror branch March 6, 2026 08:26
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

2 participants