Hi! On 8/2/11 7:51 AM, Etienne Kneuss wrote:
The (historic) reason is that the toString conversion occurs at various places in the engine, and in some of them, throwing exceptions caused trouble. It is not clear whether this limitation it still required. In any case, it could almost certainly be fixed.
In theory, yes. In practice, that means ensuring every place in the engine that does convert_to_string() can be safely interrupted by an exception and can handle that exception properly. This is pretty hard to do.
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php