Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15761 invoked from network); 4 May 2003 19:49:01 -0000 Received: from unknown (HELO mailout02.sul.t-online.com) (194.25.134.17) by pb1.pair.com with SMTP; 4 May 2003 19:49:01 -0000 Received: from fwd05.sul.t-online.de by mailout02.sul.t-online.com with smtp id 19CPTm-0008Sw-02; Sun, 04 May 2003 21:48:58 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.181.159]) by fwd05.sul.t-online.com with esmtp id 19CPTb-0gRIzgC; Sun, 4 May 2003 21:48:47 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030504202508.09483380@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 04 May 2003 21:48:45 +0200 To: "l0t3k" Cc: internals@lists.php.net In-Reply-To: <20030504181728.63730.qmail@pb1.pair.com> References: <5.1.0.14.2.20030504021938.09452980@mailbox.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] Re: exceptions instead of errors From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) 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