Skip to content

Fix #78609: mb_check_encoding() no longer supports stringable objects#4757

Closed
cmb69 wants to merge 1 commit intophp:PHP-7.2from
cmb69:fix-78609
Closed

Fix #78609: mb_check_encoding() no longer supports stringable objects#4757
cmb69 wants to merge 1 commit intophp:PHP-7.2from
cmb69:fix-78609

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 30, 2019

We apply type juggling for other types than array.


For PHP 7.4+ we have to try_convert_to_string() instead.

We apply type juggling for other types than array.
@cmb69 cmb69 requested a review from nikic September 30, 2019 09:14
@cmb69
Copy link
Member Author

cmb69 commented Sep 30, 2019

Thanks! Applied as 45db6fa.

@cmb69 cmb69 closed this Sep 30, 2019
@cmb69 cmb69 deleted the fix-78609 branch September 30, 2019 11:09
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.

2 participants