Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32156 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69866 invoked by uid 1010); 10 Sep 2007 05:33:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69851 invoked from network); 10 Sep 2007 05:33:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2007 05:33:40 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 204.127.200.84 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 204.127.200.84 sccrmhc14.comcast.net NetCache Data OnTap 5.x Received: from [204.127.200.84] ([204.127.200.84:45963] helo=sccrmhc14.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/33-44859-437D4E64 for ; Mon, 10 Sep 2007 01:33:40 -0400 Received: from earth.ufp (c-71-228-13-89.hsd1.il.comcast.net[71.228.13.89]) by comcast.net (sccrmhc14) with ESMTP id <2007091005333701400ri2aqe>; Mon, 10 Sep 2007 05:33:37 +0000 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 7D068D8227 for ; Mon, 10 Sep 2007 00:33:37 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WVI6OcYxmWie for ; Mon, 10 Sep 2007 00:33:37 -0500 (CDT) Received: from vulcan.ufp (vulcan.ufp [192.168.42.4]) by earth.ufp (Postfix) with ESMTP id 6265CD7C77 for ; Mon, 10 Sep 2007 00:33:27 -0500 (CDT) To: internals@lists.php.net Date: Mon, 10 Sep 2007 00:33:25 -0500 User-Agent: KMail/1.9.6 References: <6F509818-65A2-4B17-8C44-6970E815A169@prohost.org> <46E4D085.8010803@lsces.co.uk> In-Reply-To: <46E4D085.8010803@lsces.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200709100033.25943.larry@garfieldtech.com> Subject: Re: [PHP-DEV] PHP 5.3 Suggested Feature List From: larry@garfieldtech.com (Larry Garfield) On Monday 10 September 2007, Lester Caine wrote: > Scott MacVicar wrote: > >> 6) Remove safe_mode, register_globals and magic_quotes > >> > >> 1 0 -1 > > > > +1, The sooner we get rid of this the better, though I could see things > > going wrong if its not properly documented for everyone. I'd perhaps not > > remove the functions such as get_magic_quotes_gpc and the likes and just > > have them acting like they are disabled. This would prevent bc breaks > > for most applications. > > Don't forget that the majority of users have yet to move FROM PHP4. So > making things even more difficult to port over is not a good idea. > I have two legacy sections of code that I STILL have not worked out what is > stopping me switching off register_globals - code that I inherited from > others. The correct time to break BC is PHP 6. Shared hosts, what most PHP code ends up running on, are very conservative by nature. They won't upgrade to something that has any chance of breaking their customers' code unless they really have to. That means the best way to encourage adoption of new PHP versions is to save up BC breaks and do them all at once, so that there's only one "speed bump" to get over instead of several. Such big-BC-breaks are known in most circles as "major versions". :-) However, those settings seem like a text-book case where E_DEPRECATED would be desirable, as it gives everyone explicit fair warning that those mis-features are going away soon. That should help PHP 6 adoption in the long run rather than hinder it. -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson