Skip to content

FIX for "mb_detect_encoding() expects parameter 1 to be string, resource given"#13

Open
spidgorny wants to merge 182 commits intofirephp:masterfrom
spidgorny:master
Open

FIX for "mb_detect_encoding() expects parameter 1 to be string, resource given"#13
spidgorny wants to merge 182 commits intofirephp:masterfrom
spidgorny:master

Conversation

@spidgorny
Copy link
Copy Markdown

When one of the debug arrays contains a resource, is_resource() function sometimes does not detect it well.
See http://php.net/manual/en/function.is-resource.php#103942 for details.
This is the fix for the situation.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants