Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37817 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76955 invoked from network); 23 May 2008 06:27:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2008 06:27:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.175 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Received: from [66.249.92.175] ([66.249.92.175:3840] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/15-35754-2C366384 for ; Fri, 23 May 2008 02:27:16 -0400 Received: by ug-out-1314.google.com with SMTP id h3so657600ugf.29 for ; Thu, 22 May 2008 23:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=2Oy4av5lSiAxKd6z4cR/wz7MQt7jYfre4GE5kzqTXWo=; b=OXLPRbSQeVj72SufIOqYo5JP3k6xU9bpGHC5EiHH32mN5Zc5ShSk4XtZIzhj0dhCL5iuGFMw+I+LlmDZzgm42fAVpszIILyAp9wYSSk3gevEZ84XqOCKnF8rLawIn/5M5eFAIqP8mslr7HFmdN9o2fbjFm9ti4NHnBaYRtryFSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aSOQo1YxnWe5B/wjE63wCCqR+2fUHcZMg8o87hQkylpJwT7JLUp7s8DC+p2/D24u/2kEA6FIzQE1SWLVYNFhbGSfpk4krxbChwGeW34BQeMGzJnncVAsOQ5JzFt+ICSCccN9X+r9JqYPKpHYHjzB46Lddmy2e2NCgHepYOBkpWs= Received: by 10.67.115.17 with SMTP id s17mr267603ugm.56.1211524030598; Thu, 22 May 2008 23:27:10 -0700 (PDT) Received: by 10.66.219.9 with HTTP; Thu, 22 May 2008 23:27:10 -0700 (PDT) Message-ID: <9b3df6a50805222327oe8830abs5e04a7049ed000c6@mail.gmail.com> Date: Fri, 23 May 2008 09:27:10 +0300 To: "Lars Strojny" Cc: "Philip Olson" , "internals Mailing List" In-Reply-To: <1211494158.7416.5.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17111_22975277.1211524030593" References: <5B2E59A9-BC46-447F-BEBC-C4149866A802@roshambo.org> <1211494158.7416.5.camel@localhost> Subject: Re: [PHP-DEV] magic quotes finale From: arvids.godjuks@gmail.com ("Arvids Godjuks") ------=_Part_17111_22975277.1211524030593 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline +1 for this. Just clean the code once and for all. 2008/5/23 Lars Strojny : > [ forgot to sent that to the list ] > > Hi Philip, > > Am Dienstag, den 20.05.2008, 12:55 -0700 schrieb Philip Olson: > [...] > > PHP 5.3 is approaching fast, so let's conclude our dealings with > > magical quotes... this should be the last time. Please have a look at > > the following RFC and discuss it within this thread. > > > > Magic Quotes in PHP 5.3 and beyond > > - http://wiki.php.net/rfc/magicquotes > > > > It recommends changes to both 5_3 and 6_0 branches, namely, removing > > E_DEPRECATED from the get_ magical quote functions. Silence means > > you're okay with the RFC being implemented. > > Why should we leave get_magic_quotes_gpc()? If someone wants to be > backwards compatible, just use > if (function_exists('get_magic_quotes_gpc') and @get_magic_quotes_gpc()) > Let's just add this to the manual, and everything is fine. > > I don't see a problem with this at all and it has the advantage of > allowing use to remove all the traces of magic quotes in 6. Magic quotes > are considered a bad practice for a long time. > > cu, Lars > P.S.: Silence agrees doesn't work, silence is void. > ------=_Part_17111_22975277.1211524030593--