Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63967 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10423 invoked from network); 19 Nov 2012 09:10:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2012 09:10:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=admin@codeangel.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=admin@codeangel.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain codeangel.org from 216.119.135.130 cause and error) X-PHP-List-Original-Sender: admin@codeangel.org X-Host-Fingerprint: 216.119.135.130 a2s40.a2hosting.com Windows 98 (1) Received: from [216.119.135.130] ([216.119.135.130:34947] helo=a2s40.a2hosting.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/20-08530-D97F9A05 for ; Mon, 19 Nov 2012 04:10:54 -0500 Received: from c-50-129-101-144.hsd1.il.comcast.net ([50.129.101.144]:37623 helo=[10.0.1.3]) by a2s40.a2hosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1TaNNS-000l6r-BK for internals@lists.php.net; Mon, 19 Nov 2012 04:10:50 -0500 Message-ID: <50A9F799.5080909@codeangel.org> Date: Mon, 19 Nov 2012 03:10:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s40.a2hosting.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - codeangel.org Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: admin@codeangel.org (Chad Emrys) On 11/17/2012 08:54 PM, Adam Harvey wrote: > On 16/11/2012 8:58 PM, "Patrick ALLAERT" wrote: >> 2012/11/12 Adam Harvey : >>> Hi everyone, >>> >>> I've written an RFC to cover deprecating ext/mysql in PHP 5.5: >>> https://wiki.php.net/rfc/mysql_deprecation. While we handled the soft >>> deprecation in the documentation purely via a straw poll on Internals, >>> I presume this will end up needing to go to a vote, hence the RFC. >>> >>> I won't rehash the background overly (there's some more detail in the >>> RFC), other than to note that we've now had deprecation notices on all >>> mysql_* functions in the manual for about six months and that the >>> logical next step is to start generating E_DEPRECATED notices when >>> users connect via mysql_connect(), mysql_pconnect() or the implicit >>> ext/mysql connection routines. It's my belief that doing so will >>> hasten the move of users to the more modern (and supported) APIs >>> available: mysqli and PDO, and that this process will also likely >>> encourage some users to switch to safer patterns such as prepared >>> queries at the same time. >>> >>> I must apologise for the lateness of this RFC: I had hoped to do this >>> some time before alpha 1, but travel and illness have taken their >>> toll. Better late than never! >>> >>> So, please provide comments, feedback, concerns, and so on. Obviously, >>> this isn't going to a vote for at least a couple of weeks, but earlier >>> feedback is better. >>> >>> Thanks, >>> >>> Adam >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> Adam, >> >> Maybe it is worth mentioning in the RFC what the E_DEPRECATED notice >> message would look like so that people hiding it know what the plan >> is. >> e.g.: >> "mysql_*() functions are, as of PHP 5.5, deprecated and will be >> removed in next major release. Use the mysqli_*() functions instead". > Good point. I did put some proposed wording in the patch, but I'll add it > to the RFC when I get home tomorrow and am not just on a phone. > > Adam > Could we not mention mysqli unless you mention PDO as well?