Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6613 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38882 invoked by uid 1010); 19 Dec 2003 17:02:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38855 invoked by uid 1007); 19 Dec 2003 17:02:50 -0000 Message-ID: <20031219170250.38854.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 19 Dec 2003 19:02:49 +0200 References: <841D90E489448A4F804E1D1B95768BF7D462F7@lis-exchange3.lmu.ac.uk> <20031219141634.GA27956@panix.com> <20031219142636.GB27956@panix.com> <3FE30E95.5090707@cschneid.com> <20031219151338.GA2278@panix.com> <3FE31B63.6010606@cschneid.com> <20031219160642.32915.qmail@pb1.pair.com> <20031219161932.GA11985@panix.com> <20031219164240.1442.qmail@pb1.pair.com> <3FE32C6A.9060103@cschneid.com> Lines: 28 User-Agent: KNode/0.7.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 212.47.207.38 Subject: Re: [PHP-DEV] error_handler From: lenar@city.ee (Lenar =?ISO-8859-1?Q?L=F5hmus?=) Christian Schneider wrote: > Ok, now realistically, how many people use error handlers, have > error_reporting != E_ALL *AND* expect their handler to be called for > E_ALL *AND* aren't savvy enough to simple set error_reporting to E_ALL? Even though I'm not one of them I'm told there are people who are downloading random scripts for different purposes who really doesn't understand all the technical details of PHP. They just download. Now there are plenty of PHP scripts and projects just sitting somewhere but abandoned by their creators waiting to be downloaded. That script/project could use custom error handlers and could somehow depend on PHP4's behaviour. You never know. > > Why make life harder for 99.99% of the PHP users for this one > hypothetical case? I think we're doing mental masturbation instead of > simply fixing broken behaviour. Hmm I don't find adding an parameter to error_reporting() call making my life much harder. I didn't need it before, remember? I can go and write version_compare() in my error handler too to remain BC after using this new parameter. > > - Chris Lenar