Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63850 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25704 invoked from network); 13 Nov 2012 18:42:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2012 18:42:13 -0000 Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gg0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:52971] helo=mail-gg0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/84-30200-38492A05 for ; Tue, 13 Nov 2012 13:42:11 -0500 Received: by mail-gg0-f170.google.com with SMTP id q6so1579086ggc.29 for ; Tue, 13 Nov 2012 10:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MBF28BVMczFDt0w3aIbkr8XOVvAN0+uGLXMdXQh0qqM=; b=xmsnD3Hb6VAPy5Ew/a1d/lqD0z4K1NNLx6/3gYps4e0sO9KMaxCaYB+GH+WB7MuLjS rCJx4v4XLz1dTgBELdhio1d7aHWax/sg7pE0nCmHgt68Bw8YFKesD8h+tgRLhnICA62X CzmHWdHv3/60rT9ZP2ua1Cu//qph1mb72v3SJmWhya7Pd52ObJwZh4G+kUWMav2/cpuO OFhhlAOAb7+4iKTExpunOlHSXQ5xU8u1Atj6ZrbYwc0XlziIgw8f9ZtHTYDhNcFGZ5jD FGnCXlqAt5jzMtjNr2/CQnudF6os8SDpX18ZuU/2849j35hToxfTcZEDQM7svL4fSxcP NkmA== Received: by 10.58.200.39 with SMTP id jp7mr28499847vec.26.1352832128353; Tue, 13 Nov 2012 10:42:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.98.234 with HTTP; Tue, 13 Nov 2012 10:41:28 -0800 (PST) In-Reply-To: References: <50A10A9D.9070402@oracle.com> <50A1946F.8010407@lerdorf.com> <50A20CCB.8090909@lsces.co.uk> <8A8A29F9E43E417FB5450D63019B2DDB@NeiRoze> <8f4231fc-6e3c-4a33-af71-2af5e7a95dfd@email.android.com> Date: Tue, 13 Nov 2012 18:41:28 +0000 Message-ID: To: Anthony Ferrara Cc: =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Reinis Rozitis , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: petercowburn@gmail.com (Peter Cowburn) On 13 November 2012 16:07, Anthony Ferrara wrote: > What I would suggest, is not adding E_DEPRECATED for 5.5. Instead, > officially deprecate it in the docs. Then start a PR campaign to get > projects like WP to switch away from it. Get the word out there as much as > possible. Then in 1 to 2 years when 5.6/6 is released, add E_DEPRECATED. > A very brief interjection from the documentation team's side of the fence (though I can't speak for everyone). Extensions, functions, etc. marked as deprecated in the documentation reflect the reality in the code. If a function is deprecated in php-src, then we document it as such in the manual. Since ext/mysql is not yet deprecated in the source, we cannot "officially deprecate it in the docs" with the usual "this function is deprecated, blah, blah" messages. This is why we have adopted the "soft-deprecation" boxes in the manual especially for ext/mysql, to step forward with that PR campaign (which has been going on for years upon years) until such a time as the extension is actually marked as deprecated in php-src. Long story short, the manual reflects the source. Put the deprecation into a release and we can document the extension as such. Hold back on the deprecation in the source and we can't stick a paragraph in the docs saying "this is deprecated", rather we can only continue to say that its use is "discouraged".