Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35321 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29054 invoked by uid 1010); 8 Feb 2008 12:43:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29039 invoked from network); 8 Feb 2008 12:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2008 12:43:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.179 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.179 mho-02-bos.mailhop.org Received: from [63.208.196.179] ([63.208.196.179:59634] helo=mho-02-bos.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/66-04488-37E4CA74 for ; Fri, 08 Feb 2008 07:43:31 -0500 Received: from [81.22.163.71] (helo=[10.6.109.198]) by mho-02-bos.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1JNSZk-000P1p-Hg; Fri, 08 Feb 2008 12:43:28 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 81.22.163.71 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18aIdTAqPxiXrteMES0XsT2Qa0otTMMI9o= Reply-To: jani.taskinen@iki.fi To: Tomas Kuliavas Cc: internals@lists.php.net In-Reply-To: <35628.195.22.180.233.1202473591.nsm@avilys.eik.lt> References: <200802072332.01301.larry@garfieldtech.com> <1202473072.4246.4.camel@localhost.localdomain> <35628.195.22.180.233.1202473591.nsm@avilys.eik.lt> Content-Type: text/plain Date: Fri, 08 Feb 2008 14:43:26 +0200 Message-ID: <1202474606.4246.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision From: jani.taskinen@sci.fi (Jani Taskinen) On Fri, 2008-02-08 at 14:26 +0200, Tomas Kuliavas wrote: > >> So I guess I'm -1: Restore them, always return false, and throw > >> E_DEPRECATED. > > > > But this was about them being in PHP 6, not PHP 5.. > > If magic_quotes_* is gone, so should anything else even remotely related > > to them be gone. You have to fix your code anyway for it to work in PHP > > 6 (or even 5) without magic_crap.. > > Code works without magic crap. Function is used to detect when data must > be uncrapped. But why would you need to check if the magic itself does not exist anymore? :) -- Patches/Donations: http://pecl.php.net/~jani/