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

From: Date: Mon, 09 Jan 2017 14:35:07 +0000
Subject: Re: [RFC][VOTE] Throwable error code's type generalization
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-97625@lists.php.net to get a copy of this message
that is actually a good point Marcio. 2017-01-08 21:10 GMT+01:00 Marcio Almada <marcio.web2@gmail.com>: > 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 (#97625) next »