Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63968 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22377 invoked from network); 19 Nov 2012 11:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2012 11:46:15 -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.214.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:55854] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/00-21651-70C1AA05 for ; Mon, 19 Nov 2012 06:46:15 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp18so4960069obc.29 for ; Mon, 19 Nov 2012 03:46:12 -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:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=9Z9Sy3pa2xTRWP2oVNeKG4qC7kkwoaHwbuyhGE8reJY=; b=CmeQE6e5KJ4vniBpLu2p2LRkYmqC5Yu0GIkGgMZHLBbBV84uJM0NipEeB1NBR71Q2j TZpsENsK8bEv5L9jGSx7g+cnJr19J+HOh7k9nfyN20cpELNMqZDrO88QtIrXnu2ECKUr Gf8l+1WB0aSIYlgZVyQMk4ZOVdCuUbsfhrZwI= 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:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=9Z9Sy3pa2xTRWP2oVNeKG4qC7kkwoaHwbuyhGE8reJY=; b=EZt+vigHaLNjhHDuk3uwL4Dq7mV5ElbMWKdYLYkjzUTak/vH81U8jlloMfNMP6VwDi AERlDw5s4DMiewiXaj4scTf36+CYCVCtlBnxi2/lizNFJxy5OYL3e7ImsKjgYJzgOQdD osDC8jh/T13KdSD2BEGZTsZomfqtM+6CHpyFmXRuwpRw+nhiwEdVBaKkKpicqiIq1BDC /+2qTRgewXZdrxkVJsVCyj6uaVQYw63WmjtmpdFyA4zpTFYmCObniYDeocbVTDoudoNS iYcrzUKeOuxSJWLFsU5lBOAb8XTRQ7epyUJ7ghlXrOZL/DQHTzOflploi1a3DNKSy3xC K2vQ== Received: by 10.60.32.163 with SMTP id k3mr10326289oei.100.1353325572637; Mon, 19 Nov 2012 03:46:12 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.123.75 with HTTP; Mon, 19 Nov 2012 03:45:52 -0800 (PST) In-Reply-To: <50A9F799.5080909@codeangel.org> References: <50A9F799.5080909@codeangel.org> Date: Mon, 19 Nov 2012 19:45:52 +0800 X-Google-Sender-Auth: tnE7olY4II79T3nSVU5l2eXb_Lg Message-ID: To: Chad Emrys , Patrick Allaert Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQk49cmxXWljQxnPfLPDd1HncuoNCz6k2CNAfufBnjiAqK7p2cvIz8VqvHCghiLxkx1BGZtm Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: aharvey@php.net (Adam Harvey) On 19 November 2012 17:10, Chad Emrys wrote: > On 11/17/2012 08:54 PM, Adam Harvey wrote: >> >> On 16/11/2012 8:58 PM, "Patrick ALLAERT" wrote: >>> 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 i= t >> to the RFC when I get home tomorrow and am not just on a phone. >> > Could we not mention mysqli unless you mention PDO as well? I've added the wording I put in the patch to the RFC. For the record, it is= : "The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead" This is basically a cut down version of the longer message in the manual on each ext/mysql function, except explicitly noting the deprecation. I'm not at all averse to adding a link to the Choosing an API manual page to help developers make an informed choice (and, ideally, we could beef that up to include more detail on what migration actually looks like) =E2=80=94 this does feel like something we could tune after voting on the bigger issue, though. My intention at this stage is to call a vote next Monday: it feels like the discussion has mostly died down now (which isn't to say I think we're at a consensus necessarily =E2=80=94 it just feels as though th= e flurry of opinions have been made and argued either way), and I'm hoping that everyone can have a think about where and how they'd like to see this move forward (if at all) between now and then. Given we've only just hit alpha 1, I don't think we need to rush into a decision right now for the sake of one. Thanks to everyone so far for their input =E2=80=94 I think it's been a valuable, productive discussion. Cheers, Adam, who is still personally in favour of deprecation. :)