We still need to solve the delayed triggering of exceptions
thrown from C extensions or overloaded object handlers:

$obj->foo()->bar();
      ^
An exception thrown in foo() will not "detonate" until
the end of the statement (the semicolon).

What happens in this case is that $obj->foo() evalutates
to null and then engine will then E_ERROR out when trying
to call null->bar().

--Wez.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to