Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18612 invoked from network); 18 Nov 2012 02:54:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2012 02:54:53 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.219.42 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.219.42 mail-oa0-f42.google.com Received: from [209.85.219.42] ([209.85.219.42:53883] helo=mail-oa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/D0-08060-BFD48A05 for ; Sat, 17 Nov 2012 21:54:52 -0500 Received: by mail-oa0-f42.google.com with SMTP id j1so4153137oag.29 for ; Sat, 17 Nov 2012 18:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=J7tJQL1HZb0vt4kw7KrlVDAST8vplpKp4BjyUnRoApQ=; b=LMS0rj1Wf93bhNgGSMbvgZFkZIhdrwjQS9E4XWMyax6mig0f66J5aTX0zddeLMqgVD oFPnODLKYoUj5EbY3qJ0Ql+jRIUH0V3PYWiFlRDYwRC0tqaOU5tr3lVfes3nNxWkrZMQ mdkF4ftcMVxH3Urx+F0rlYjDahAJLMoosV058= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=J7tJQL1HZb0vt4kw7KrlVDAST8vplpKp4BjyUnRoApQ=; b=lLPmbXWABQHJs2SLrTdpDOn2RZEPNORjzbz98vJ1O9zmydo8BJgsMh4WNFXaw1CsI/ F4uUcjeCvtsM3lSA1xiKIe8j/DO+/Fr7syxyayZ6dPOt/AYCJT2tn77itbMKvkMkWn6j 8bwWQ6A88pHvHN/VsVeLBO3dV8VRKHTc+l7tDew3dk0OMYhkhL7ZBXAFnWjnkUpzI9WG r4xmqq8l6aROhM4jV+tQ3HTW+CNxufJeS2+cbzScSOjS16Pt4kHzDHKIqjA8e769GaBW xMiIfw7MM/+Gfp00/1AprcWD2SfGsk9/bFCnNPc/z1aEahU97uCQfdL1sQvW6frL7WV/ ZVkg== MIME-Version: 1.0 Received: by 10.60.32.163 with SMTP id k3mr7569489oei.100.1353207289156; Sat, 17 Nov 2012 18:54:49 -0800 (PST) Sender: adam@adamharvey.name Received: by 10.76.123.75 with HTTP; Sat, 17 Nov 2012 18:54:48 -0800 (PST) Received: by 10.76.123.75 with HTTP; Sat, 17 Nov 2012 18:54:48 -0800 (PST) In-Reply-To: References: Date: Sun, 18 Nov 2012 10:54:48 +0800 X-Google-Sender-Auth: drSB8mY-KhhgPvVbPeAHLWy5zdU Message-ID: To: patrickallaert@php.net Cc: PHP internals Content-Type: multipart/alternative; boundary=e89a8fb1f84ac7155804cebc1fd1 X-Gm-Message-State: ALoCoQlBTm7r/nB4b5Jp4UoC0rrIeUl+a0j0q0gPa3rUNKaNKYOl+jKQTyTDdTHTdP5DWjgG8WYL Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: aharvey@php.net (Adam Harvey) --e89a8fb1f84ac7155804cebc1fd1 Content-Type: text/plain; charset=UTF-8 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 --e89a8fb1f84ac7155804cebc1fd1--