Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96226 invoked from network); 14 Nov 2012 10:07:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Nov 2012 10:07:33 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:61020] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/71-22228-26D63A05 for ; Wed, 14 Nov 2012 05:07:30 -0500 Received: by mail-ie0-f170.google.com with SMTP id c12so347289ieb.29 for ; Wed, 14 Nov 2012 02:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mv19SLtM3SK8WOtJyZQVHvZaoUZ1YQS4jTBkpogYE3w=; b=FeLUlr9/2OAYXGPFw/ZSf/yt1XQ5sbfLSNZwlP7ToAjOAY2CoumG8Yqeco4mf66PgN 2fUoLwSgNh5hAKC27FmdJqgbEDvTya9M8qtAgDvV/s+Ztg0lPd/L+CX7AKik9DsCETJU cxZNiSytMbB89e/YMoRTXlH7xjmI5oQXX2amV/Yt+k8Ib5NF5TNdU3Xo0gZjtgP+Plqx eRgggnVJSzzShgwtCdOBgzMS3WFlUmBY4C0XmTb+aKNoHpmawz0TWZXYVkpzOddHNKyC 7JPSh9C2nUmTKAeTznorNGBCtlpIfGQpBObfi6k15OjK2sfVt6j/qUbjBV23VF1FHkZM yb6A== MIME-Version: 1.0 Received: by 10.50.33.138 with SMTP id r10mr1254759igi.6.1352887647832; Wed, 14 Nov 2012 02:07:27 -0800 (PST) Received: by 10.64.33.143 with HTTP; Wed, 14 Nov 2012 02:07:27 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Nov 2012 11:07:27 +0100 Message-ID: To: Adam Harvey Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: pierre.php@gmail.com (Pierre Joye) hi Adam, On Mon, Nov 12, 2012 at 2:00 PM, Adam Harvey wrote: > 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. I think there is a somehow clear consensus that E_DEPRECATED is just fine. Discussions now are mostly about killing mysql or some ever ending rant about notices being a breakage. I would suggest to move to the vote phase after the one week period. Thanks for bringing that up, Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org