Re: Re: exceptions instead of errors
| From: | (Marcus Börger) | Date: | Sun, 04 May 2003 19:48:45 +0000 |
| Subject: | Re: Re: exceptions instead of errors | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1236@lists.php.net to get a copy of this message | ||
At 20:17 04.05.2003, l0t3k wrote:
along the lines of this discussion, i had posted a (ignored) message concerning the behaviour of zend_parse_parameters. my point was/is that there should be an extra parameter which determines whether a regular PHP error or exception is raised. otherwise its useless to use in an OO extension (particularly in the case of constructors). if we adopt this approach, i think we'd also need an IllegalArgumentException or somesuch.My patch opens the doors to such behavior :-) regards marcus