Instead of using `__toString` as type maybe it's better to introduce a 
`Stringable` interface, similar to how `__wakeup` and `__sleep` are already 
superseded by `Serializable`. Of course `__toString` would still continue to 
work (for bc), but isn't usable for type hinting.

[Arnold Daniels - Chat @ 
Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=5acb3)        
[5acb3]

On September 4, 2019 at 9:59 GMT, Nicolas Grekas <nicolas.grekas+...@gmail.com> 
wrote:

Reply via email to