# another issue to solve for PHP5

- Thread: https://externals.io/message/6713
- Original archive: https://news-web.php.net/php.internals/6713
- Started by Wez Furlong on 2003-12-24T15:13:14+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #6713 — Wez Furlong — 2003-12-24T15:13:14+00:00

URL: https://externals.io/message/6713#6713

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.
