Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #35933 [Mime] strengthen is_resource() checks (nicolas-grekas)
This PR was merged into the 5.1-dev branch. Discussion ---------- [Mime] strengthen is_resource() checks | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Improves seekable checks by using `stream_get_meta_data($h)['seekable'] && 0 === fseek($h, 0, SEEK_CUR)` instead of just `stream_get_meta_data($h)['seekable']` which is better when using userland stream wrappers. Commits ------- be9c675 [Mime] strengthen is_resource() checks
- Loading branch information
Showing
5 changed files
with
13 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters