another issue to solve for PHP5

php.internals

Wez Furlong

22 years ago
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.