Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28570 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 793 invoked by uid 1010); 23 Mar 2007 11:57:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 778 invoked from network); 23 Mar 2007 11:57:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 11:57:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:13148] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/DD-02386-290C3064 for ; Fri, 23 Mar 2007 06:57:08 -0500 Received: (qmail 2090 invoked from network); 23 Mar 2007 11:57:03 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 23 Mar 2007 11:57:03 -0000 Message-ID: <4603C08E.2010904@zend.com> Date: Fri, 23 Mar 2007 14:57:02 +0300 User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: php-dev Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: removed stuff & fatals error in HEAD From: antony@zend.com (Antony Dovgal) Hello all. I propose to change the error in HEAD that appears when enabling magic_quotes and safe_mode from E_ERROR to E_WARNING. It's not something that leaves the engine in unstable state, so I believe E_ERROR is misused in this case. It's also impossible to know even where exactly these INI options were declared if they appeared in php.ini: # php -i PHP Fatal error: Directive 'safe_mode' is no longer supported in PHP 6 and greater in Unknown on line 0 I'll commit the patch in the evening if there are no (well-grounded) objections. -- Wbr, Antony Dovgal