Re: [RFC][VOTE] Throwable error code's type generalization

From: Date: Sun, 08 Jan 2017 20:10:25 +0000
Subject: Re: [RFC][VOTE] Throwable error code's type generalization
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-97593@lists.php.net to get a copy of this message
Hi Wes, 2017-01-08 15:44 GMT-04:00 Wes <netmo.php@gmail.com>: > Yes, you can. > > http://php.net/manual/en/language.oop5.magic.php#object.tostring :P > It's still not guaranteed that the returned value is "stringifiable" as it was before. Logging code would now need is_object + method_exist checks and so on. I'm considering to go -1 on this change.

« previous php.internals (#97593) next »