Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21071 invoked by uid 1010); 23 Mar 2007 12:47:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21056 invoked from network); 23 Mar 2007 12:47:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 12:47:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.135.64.154 cause and error) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 82.135.64.154 ppp-82-135-64-154.dynamic.mnet-online.de Received: from [82.135.64.154] ([82.135.64.154:43936] helo=johannes.nop) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/90-02386-76CC3064 for ; Fri, 23 Mar 2007 07:47:37 -0500 Received: from johannes.nop (localhost [127.0.0.1]) by johannes.nop (8.13.8/8.13.8) with ESMTP id l2NClWTv026401 for ; Fri, 23 Mar 2007 13:47:32 +0100 Received: (from johannes@localhost) by johannes.nop (8.13.8/8.13.8/Submit) id l2NClV8Q026400 for internals@lists.php.net; Fri, 23 Mar 2007 13:47:31 +0100 X-Authentication-Warning: johannes.nop: johannes set sender to johannes@php.net using -f To: php-dev In-Reply-To: <4603C08E.2010904@zend.com> References: <4603C08E.2010904@zend.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 23 Mar 2007 13:47:31 +0100 Message-ID: <1174654051.26311.3.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-1.fc6) Subject: Re: [PHP-DEV] removed stuff & fatals error in HEAD From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, I'd also like to completely remove get_magic_quotes_gpc() and similar functions instead of having them resulting in a fatal error. The effect would be the same - the script terminates - but function_exists() is much nicer as check than version_compare(). Any objections? johannes On Fri, 2007-03-23 at 14:57 +0300, Antony Dovgal wrote: > 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 >