Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43210 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79389 invoked from network); 27 Feb 2009 04:02:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2009 04:02:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:48690] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/2B-30584-FE567A94 for ; Thu, 26 Feb 2009 23:02:56 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lctw0-0004Ge-IP for internals@lists.php.net; Fri, 27 Feb 2009 04:02:48 +0000 Received: from lily.mit.edu ([18.243.2.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2009 04:02:48 +0000 Received: from edwardzyang by lily.mit.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2009 04:02:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Thu, 26 Feb 2009 23:02:38 -0500 Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: lily.mit.edu User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: Sender: news Subject: Re: [PHP-DEV] add "scream" feature to core From: edwardzyang@thewritingpot.com ("Edward Z. Yang") So, my understanding of the shut-up operator was that it temporarily set error_reporting to zero, so you could define a custom error handler that would do the equivalent simply by not honoring error_reporting = 0. Something that would be more useful, and that I don't think is implementable in PHP, would be a wrapper around all user error handlers, since userland code can override the current error handler. Cheers, Edward