Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47993 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91590 invoked from network); 16 Apr 2010 15:15:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2010 15:15:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierrick@webstart.fr; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pierrick@webstart.fr; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webstart.fr from 209.85.217.227 cause and error) X-PHP-List-Original-Sender: pierrick@webstart.fr X-Host-Fingerprint: 209.85.217.227 mail-gx0-f227.google.com Received: from [209.85.217.227] ([209.85.217.227:49672] helo=mail-gx0-f227.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/F0-20775-10F78CB4 for ; Fri, 16 Apr 2010 11:15:14 -0400 Received: by gxk27 with SMTP id 27so2158836gxk.1 for ; Fri, 16 Apr 2010 08:15:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.78.9 with HTTP; Fri, 16 Apr 2010 08:15:10 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Apr 2010 11:15:10 -0400 Received: by 10.150.193.21 with SMTP id q21mr2080195ybf.44.1271430910718; Fri, 16 Apr 2010 08:15:10 -0700 (PDT) Message-ID: To: Kalle Sommer Nielsen Cc: Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Removal of deprecated features From: pierrick@webstart.fr (Pierrick Charron) I've added the patch to remove magic quotes from trunk on the RFC. Is there any comments/objection against this patch ? Pierrick 2010/4/8 Kalle Sommer Nielsen : > Hey Everyone > > I've put together a simple RFC[1] that lists features thats been > deprecated in 5.3, someone of them which I propose we remove in the > next version of PHP, depending on the version number. Most of the > features, which is listed below are taken from the old 6.0 NEWS[2] > file, and items from the old PHP6 TODO[3]. > > safe_mode/register_globals/register_long_arrays/magic_quotes_*/allow_call= _time_pass_reference > =A0- Something we have long time been wanted to remove from PHP, I don't > see a big reason to keep those in the next version, even if its going > to be a 5.4, since we already removed things like > zend.ze1_compatibility_mode. See the magic quotes RFC[4]. > > define_syslog_variables and its associated function > =A0- Originally agreed to be removed in PHP6 during the 5.3 development, > if there is no objects then I will remove by the end of this weekend. > > asp_tags > =A0- Proposed to be removed aswell, Tony had a patch for this[5]. > > sql_safe_mode > =A0- Theres currently an RFC in the works about this by Johannes[6]. > > session_register/session_is_registered/session_register > =A0- Only needed for register_globals, Hannes removed those in PHP6. > > enable_dl > =A0- Is this really worth keeping, since dl() was disabled on almost all > SAPIs except for CLI/CGI/Embed? > > Support for Freetype 1 and GD 1 > =A0- Removed by Pierre in PHP6 > > Support for "continue" and "break" operators with non constant operands > =A0- Removed by Dmitry in PHP6. > > Undocumented and incomplete support for strings in list() operator > =A0- Removed by Dmitry in PHP6 aswell. > > detect_unicode/highlight_bg > =A0- Two ini values thats been marked as removed features from PHP6 in > the manual. Not sure about detect_unicode, but highlight_bg is pretty > pointless. > > y2k_compliance > =A0- From the manual "Enforce year 2000 compliance (will cause problems > with non-compliant browsers)", we are in 2010, we should remove this > option and enable it by default and remove the checks. Perhaps Derick > got an insight here? > > Class named constructors > =A0- A feature thats been marked in the manual as something that would > be removed in a future version of PHP6. It was not to be knowing ever > decided to be kept or not, but now with the recent removal of them in > namespaces then I don't see a big point in keeping them. > > > If there is anything I forgot then let me know and I will add it to > the RFC, else discussions away! > > > [1] http://wiki.php.net/rfc/removal-of-deprecated-features > [2] http://svn.php.net/viewvc/php/php-src/branches/FIRST_UNICODE_IMPLEMEN= TATION/NEWS?view=3Dmarkup > [3] http://wiki.php.net/todo/php60 > [4] http://wiki.php.net/rfc/magicquotes > [5] http://marc.info/?l=3Dphp-internals&m=3D117640641605813&w=3D2 > [6] http://wiki.php.net/rfc/drop_sql.safe_mode > > -- > regards, > > Kalle Sommer Nielsen > kalle@php.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >