Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18054 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93828 invoked by uid 1010); 14 Aug 2005 16:04:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93813 invoked from network); 14 Aug 2005 16:04:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2005 16:04:52 -0000 X-Host-Fingerprint: 64.233.184.207 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.207:17634] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 34/13-33075-3AB6FF24 for ; Sun, 14 Aug 2005 12:04:51 -0400 Received: by wproxy.gmail.com with SMTP id 36so890612wra for ; Sun, 14 Aug 2005 09:04:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CvGytlJfTqvm3MfqEzFMdMiPr7+cAX16ALbQfeqKyf1xrq1G0SMd6ugi9Zu/AxnFd8L5UA9PQILuH/W7jmilsyId3ulMTP/Q6Eli5HadyWIJgLxNbubxG7W5TDfodfSPoXLsGPS08BnTjQKh8x1JzNOUDhoHfSJwuW34GMuGp+4= Received: by 10.54.57.77 with SMTP id f77mr2999262wra; Sun, 14 Aug 2005 09:04:48 -0700 (PDT) Received: by 10.54.46.26 with HTTP; Sun, 14 Aug 2005 09:04:48 -0700 (PDT) Message-ID: <5cf776b805081409041f6472b4@mail.gmail.com> Date: Sun, 14 Aug 2005 12:04:48 -0400 To: Zeev Suraski Cc: Rasmus Lerdorf , internals In-Reply-To: <5.1.0.14.2.20050814173103.07af77b0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42FCE0E4.604@lerdorf.com> <5.1.0.14.2.20050814173103.07af77b0@localhost> Subject: Re: [PHP-DEV] PHP 6.0 Wishlist From: mbneto@gmail.com (mbneto) Hi, >=20 > First of all, in general - I don't subscribe to the school of 'we broke > something, why not break more'. With every feature we break, we reduce t= he > chances of people upgrading, of legacy apps working, and we reduce the > overall success chances of the new version. Compatibility breakup is not > binary, it accumulates. The more features are broken, the worse the > situation becomes. >=20 I couldn't agree more. > >1. Remove register_globals completely > > > >2. Remove magic_quotes_* >=20 > Given what I said above, I don't see any motivation to remove > register_globals or magic_quotes. I don't see how it buys us anything > other than pissed off users and hordes of (sometimes exploitable) bugs th= at > will result from sloppy audits. These changes alone would mean that a > great deal of the applications would have to be 100% audited before an > upgrade. Between us, developers welcoming forced labor due to upgrades i= s > wishful thinking. People never like to be forced to go over their or oth= er > people's code regardless of the circumstances. >=20 +1000 for not removing the register_globals. >=20 > As I'm sure you'd agree, academic purity is not exactly why PHP won the > hearts of the masses. I would almost argue the opposite. Features which > only bother us due to academic purity are clearly ones we shouldn't > touch. Even more so than register_globals and magic_quotes - which are n= ot > only impure but also problematic - there's no point forcing people to > modify their code just because we feel like making PHP more academically > pure. Other than creating a huge worldwide mess and slowing down > migration, we're not going to gain anything (assuming we don't get any > points for academic purity; PHP scored 100 when handed in as an academic > project, by the way :). >=20 > Even if we forget about the users, and only think about ourselves - unles= s > something drastic happens, we're going to look at supporting 4 major > different versions simultaneously - 4.3/4.4, 5.0, 5.1 and 6.0. Is it > really such a great idea to start breaking compatibility beyond what we > absolutely have to? >=20 > I think you have some good ideas in that list, and some less good > ideas. I'm worried about the wholesale mode that internals@ switched int= o, > the almost unanimous "YES!" response, and the overall feeling that sudden= ly > with 6.0 breakage comes without a price. That goes counter to our key > design goals in the Unicode support, which were work-as-if-nothing-happen= ed > when unicode support is disabled. I sure hope others come to support your way of thinking. Sometimes the purist way of thinking can cause more problems than good.