Edit report at https://bugs.php.net/bug.php?id=53648&edit=1
ID: 53648
Comment by: carusogabriel@php.net
Reported by: clicky at erebot dot net
Summary: Allow __toString() to throw exceptions
Status: Open
Type: Feature/Change Request
Package: Class/Object related
PHP Version: 5.3.4
Block user comment: N
Private report: N
New Comment:
A PR was created for that https://github.com/php/php-src/pull/3887, that
will be voted as an RFC
Previous Comments:
------------------------------------------------------------------------
[2018-09-29 19:38:52] nikic@php.net
Related To: Bug #48622
------------------------------------------------------------------------
[2017-12-28 17:23:39] nikic@php.net
Related To: Bug #74830
------------------------------------------------------------------------
[2017-12-01 12:55:43] simohe at besonet dot ch
Forbidding to throw errors is a problem when generating proxy classes in doctrine.
See https://github.com/doctrine/common/issues/824
------------------------------------------------------------------------
[2016-06-11 04:37:34] requinix@php.net
Related To: Bug #72382
------------------------------------------------------------------------
[2015-05-27 17:01:55] aharvey@php.net
Reopening, although this will require an RFC (and, realistically, a PR) to proceed against a later
7.x version.
------------------------------------------------------------------------
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=53648
--
Edit this bug report at https://bugs.php.net/bug.php?id=53648&edit=1