Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90113 invoked by uid 1010); 19 Dec 2003 15:38:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90088 invoked from network); 19 Dec 2003 15:38:13 -0000 Received: from unknown (HELO xaxa.search.ch) (195.141.85.118) by pb1.pair.com with SMTP; 19 Dec 2003 15:38:13 -0000 Received: from localhost (localhost [127.0.0.1]) by xaxa.search.ch (Postfix) with ESMTP id 4AF846DB20; Fri, 19 Dec 2003 16:38:13 +0100 (CET) Received: by xaxa.search.ch (Postfix, from userid 65534) id 472416D8AD; Fri, 19 Dec 2003 16:38:12 +0100 (CET) Received: from cschneid.com (ultrafilter2-i [192.168.85.3]) by xaxa.search.ch (Postfix) with ESMTP id B24046D84B; Fri, 19 Dec 2003 16:38:11 +0100 (CET) Message-ID: <3FE31B63.6010606@cschneid.com> Date: Fri, 19 Dec 2003 16:38:11 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030626 X-Accept-Language: de-ch, en-us, en MIME-Version: 1.0 To: Daniel Convissor Cc: PHP Internals List References: <841D90E489448A4F804E1D1B95768BF7D462F7@lis-exchange3.lmu.ac.uk> <20031219141634.GA27956@panix.com> <20031219142636.GB27956@panix.com> <3FE30E95.5090707@cschneid.com> <20031219151338.GA2278@panix.com> In-Reply-To: <20031219151338.GA2278@panix.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on xaxa.search.ch X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Virus-Scanned: by AMaViS 0.3.12pre8 Subject: Re: [PHP-DEV] error_handler From: cschneid@cschneid.com (Christian Schneider) Daniel Convissor wrote: > I, and lots of people, need to worry about it. I write code that uses I second that. > Adding an optional argument has the worst of both worlds. In order to > take advantage of it, one must lock your code into PHP 5. In this specific case I can live with an optional argument (even though I think it is pure bloat) because I can't use set_error_handler with PHP4 anyway due to bug #25547. [As soon as this bug gets fixed and I _could_ use it though I'll hate myself for accepting the optional parameter because I'll have to add a "if (version_compare...)" to my code :-}]. - Chris