Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35777 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21577 invoked by uid 1010); 25 Feb 2008 01:38:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21562 invoked from network); 25 Feb 2008 01:38:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2008 01:38:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 207.210.105.50 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 207.210.105.50 analucia.asmallorange.com Received: from [207.210.105.50] ([207.210.105.50:48867] helo=analucia.asmallorange.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/30-20161-D1C12C74 for ; Sun, 24 Feb 2008 20:38:38 -0500 Received: from c-24-20-30-252.hsd1.mn.comcast.net ([24.20.30.252]:25847 helo=[192.168.3.107]) by analucia.asmallorange.com with esmtpa (Exim 4.68) (envelope-from ) id 1JTSIg-0000O1-N8; Sun, 24 Feb 2008 20:38:38 -0500 In-Reply-To: References: <47AC8597.4060009@chiaraquartet.net> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <6B6968E5-6D1F-4F65-AE0A-FDDF972FA14A@roshambo.org> Cc: "Gregory Beaver" , "internals Mailing List" Content-Transfer-Encoding: 7bit Date: Sun, 24 Feb 2008 17:38:18 -0800 To: "Pierre Joye" X-Mailer: Apple Mail (2.753) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - analucia.asmallorange.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roshambo.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] magic_quotes and the question of BC From: philip@roshambo.org (Philip Olson) On Feb 8, 2008, at 8:46 AM, Pierre Joye wrote: > On Feb 8, 2008 5:38 PM, Gregory Beaver wrote: > >> Frankly, I don't see why there is any vote whatsoever. It's plain >> stupid to consider removing them when a fully backwards-compatible >> solution exists that has no performance penalty, no security penalty, >> and in fact no penalty at all. > > It is not plain stupid to remove something when the underlying > features do not exist. It is expected. > > Talking about BC in this case is a closed to be a complete non sense. > For two reasons: > > 1. If can't do that between two major versions, let define a rule: we > can't change _anything_ in PHP, no matter when (think: roll back all > these fatal errors) The change here is to remove magical quotes and then have these functions always return 0, so yes we can change and keep [some] BC in one smooth motion. > 2. it is fixable in three lines (with braces). PEAR had much harder > issues already, you can document the upgrade process (upgrade pear > then php, make install will work if you include a full upgrading > solution in go-pear.phar, if it is not the case already) But the general problem is with old code working in PHP 6, not new or updated code working in PHP 6. These functions should remain, and if not, then PHP 6 should break everything... meaning, be the "make PHP do what we want it to do with little BC in mind" instead of only doing that sometimes. Which is it? What is the PHP 6 mission statement? Regards, Philip