Hi! > BUT, it would great to fix the inability of __toString to throw in 7.2 also.
That might be a bit harder to do. __toString does not throw because it's used in many contexts inside the engine where you can't just drop what you're doing and start processing the exception - like in the middle of function accepting parameters, or in the middle of calculating the expression, in the middle of executing a function call, etc. I'm not saying it's impossible to do, but it would require adding a lot of very carefully written code so that interrupting whatever the engine was doing is safe, and even then not clear what to do with extensions which won't have this code. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php