# [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_default_classes.c zend_default_classes.h zend_execute.h zend_execute_API.c

- Thread: https://externals.io/message/7813
- Original archive: https://news-web.php.net/php.internals/7813
- Started by Andi Gutmans on 2004-02-13T17:47:43+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

---

## #7813 — Andi Gutmans — 2004-02-13T17:47:43+00:00

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

At 08:51 AM 2/13/2004 -0500, George Schlossnagle wrote:

>
>
> > […]
>
>The above description sounds more like a 'best practice' and less like 
>something that PHP should be forcing on users.  If I explicitly choose to 
>create an exception that must be caught specifically, I don't see why I 
>shouldn't be allowed to do that.

Because, in any case, we would then add a construct to catch all exceptions 
but you'd loose out on the fact that you don't have an interface you can 
rely on.
At the end of the day, if you look at the two alternatives, I think this is 
the best one and leads to much better and robust code.

Andi

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
