Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63923 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14330 invoked from network); 16 Nov 2012 09:58:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2012 09:58:11 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-ee0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:42543] helo=mail-ee0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/51-08060-23E06A05 for ; Fri, 16 Nov 2012 04:58:11 -0500 Received: by mail-ee0-f42.google.com with SMTP id t10so1585640eei.29 for ; Fri, 16 Nov 2012 01:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=dVYsz0s6MHAHIrviDMDEANhiP1EtALyOFuyHlpXouAc=; b=mCGavEVQxRsysBAlxFAVLZyTDfF5anRIGZ6HBtMBZTjn00Jt5Jd8tVds+DI0/5E790 BaUMWj/cD1lE8iAGmEc3+DuGIiJEzhGhe/0wxjJmi36J4kH9FQiH1pyzMdHov8HbjSac HzivJcEMfmfj20soeplpn+vJAdVzUCgTqhwVVZf+qqITle3hSxo+Fen4+1HI+yUNEYFi h1vVmZK2NVe75SZW+uBqdaCg13awxXHDIi+yBNVHNw1sdtBy1WceSA4ce5rF2hZln8ei vcQ7iuXviu0QzwSks4W/besxR2CnIMfyKYMJpaIPZHzIo3znlcHhNwrgX1lz22nQvnuc CSMw== MIME-Version: 1.0 Received: by 10.14.199.134 with SMTP id x6mr12124766een.31.1353059887250; Fri, 16 Nov 2012 01:58:07 -0800 (PST) Sender: patrick.allaert@gmail.com Received: by 10.14.129.193 with HTTP; Fri, 16 Nov 2012 01:58:07 -0800 (PST) In-Reply-To: References: Date: Fri, 16 Nov 2012 10:58:07 +0100 X-Google-Sender-Auth: T7YsDd-ntYVIDBOOt8zAfbk0CXk Message-ID: To: Adam Harvey Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: patrickallaert@php.net (Patrick ALLAERT) 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". Patrick