Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49925 invoked by uid 1010); 19 Dec 2003 15:13:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49893 invoked from network); 19 Dec 2003 15:13:39 -0000 Received: from unknown (HELO mail1.panix.com) (166.84.1.72) by pb1.pair.com with SMTP; 19 Dec 2003 15:13:39 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id 700BB48898 for ; Fri, 19 Dec 2003 10:13:38 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p2-a/8.8.8/PanixN1.1) id hBJFDcW02829 for internals@lists.php.net; Fri, 19 Dec 2003 10:13:38 -0500 (EST) Date: Fri, 19 Dec 2003 10:13:38 -0500 To: PHP Internals List Message-ID: <20031219151338.GA2278@panix.com> References: <841D90E489448A4F804E1D1B95768BF7D462F7@lis-exchange3.lmu.ac.uk> <20031219141634.GA27956@panix.com> <20031219142636.GB27956@panix.com> <3FE30E95.5090707@cschneid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] error_handler From: danielc@analysisandsolutions.com (Daniel Convissor) On Fri, Dec 19, 2003 at 04:00:34PM +0100, Derick Rethans wrote: > > Don't worry about this, as PHP wasnever really forwards compatible > anyway. I, and lots of people, need to worry about it. I write code that uses PHP. Much of it is for general public consumption. Some is for sale at significant cost. I have to write stuff once and have it work anywhere. The proposed behavior of having error handlers called only when the reporting bitmask is met is great. Makes things better in PHP 5 and doesn't have real negative impacts for code written expecting PHP 4's behavior. 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. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409