Re: Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR]
| From: | Andi Gutmans | Date: | Thu, 27 Mar 2003 18:13:03 +0000 |
| Subject: | Re: Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR] | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-386@lists.php.net to get a copy of this message | ||
At 12:37 PM 3/27/2003 -0500, Sterling Hughes wrote:
Just a note on this. People have avoided OO cause OO sucked. Exceptions themselves are *incredibly* useful, especially when dealing with database code (the majority of php applications), so I think you'll see that portion of php used quite a bit. I know personally I'll stay very procedural, but almost all error handling will be done with try { } catch { }.Yeah but you don't need incorrect function calls to throw exceptions. I'm sure that's not what you're meaning to use them for. Andi