Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:26235 php.internals:26236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48128 invoked by uid 1010); 24 Oct 2006 21:30:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48112 invoked from network); 24 Oct 2006 21:30:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2006 21:30:25 -0000 Received: from [127.0.0.1] ([127.0.0.1:15841]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id AB/0A-09182-1F58E354 for ; Tue, 24 Oct 2006 17:30:25 -0400 X-Host-Fingerprint: 209.172.32.36 palpatine.privatedns.com Received: from [209.172.32.36] ([209.172.32.36:8071] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/F2-09182-F086E354 for ; Tue, 24 Oct 2006 15:22:58 -0400 To: internals@lists.php.net,Zeev Suraski Message-ID: <453E6807.5050000@generationphp.net> Date: Tue, 24 Oct 2006 15:22:47 -0400 User-Agent: Thunderbird 2.0b1pre (Windows/20061023) MIME-Version: 1.0 CC: Marcus Boerger , internals@lists.php.net References: <1485570655.20061023210857@marcus-boerger.de> <7.0.1.0.2.20061024074914.0d744b08@zend.com> In-Reply-To: <7.0.1.0.2.20061024074914.0d744b08@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 209.172.32.36 Subject: Re: [PHP-DEV] [RFC] E_DEPRECATED From: mgagne@generationphp.net (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Hi, > I personally also don't see a good reason to disable E_WARNING and > E_NOTICE (and possibly also E_DEPRECATED) in a production environment - > you may still want to log such errors. As long as display_errors is > off, it's not a problem except for the performance hit which should be > low assuming you don't have too many of them. As a system administrator, I must disagree with your opinion as most users don't care about error_log file. I have see a lot of servers with about 6GB of error_log filled with E_NOTICE AND E_WARNING. Just letting it enabled by default in production is a bad idea. Those notices should only be enabled during development since production is no more the time to do such debugging. -- Mathieu