Bug #78609 [PATCH]: mb_check_encoding() doesn't support objects with __toString() method any more

From: Date: Mon, 30 Sep 2019 09:14:41 +0000
Subject: Bug #78609 [PATCH]: mb_check_encoding() doesn't support objects with __toString() method any more
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222957@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78609&edit=1

 ID:                 78609
 Patch added by:     cmb@php.net
 Reported by:        kurt at suvaline dot com
 Summary:            mb_check_encoding() doesn't support objects with
                     __toString() method any more
 Status:             Re-Opened
 Type:               Bug
 Package:            mbstring related
 Operating System:   Linux
 PHP Version:        7.2
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

The following pull request has been associated:

Patch Name: Fix #78609: mb_check_encoding() no longer supports stringable objects
On GitHub:  https://github.com/php/php-src/pull/4757
Patch:      https://github.com/php/php-src/pull/4757.patch


Previous Comments:
------------------------------------------------------------------------
[2019-09-30 09:02:09] cmb@php.net

Yes, this needs a php-src fix (the other commit was docs only).
I'm working on a PR.

------------------------------------------------------------------------
[2019-09-30 08:11:46] nikic@php.net

This still needs a php-src fix, right?

------------------------------------------------------------------------
[2019-09-30 07:50:11] salathe@php.net

Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=463210b7775cc2c8e59c8139ae529c2085a33154
Log: Fix #78609: mb_check_encoding() no longer supports stringable objects

------------------------------------------------------------------------
[2019-09-30 07:45:19] cmb@php.net

Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348104
Log: Fix #78609: mb_check_encoding() no longer supports stringable objects

------------------------------------------------------------------------
[2019-09-29 13:45:03] cmb@php.net

Confirmed: <https://3v4l.org/tRJm3>.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=78609


--
Edit this bug report at https://bugs.php.net/bug.php?id=78609&edit=1


Thread (7 messages)

« previous php.bugs (#222957) next »