Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63898 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53629 invoked from network); 16 Nov 2012 01:14:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2012 01:14:46 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.220.42 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.220.42 mail-pa0-f42.google.com Received: from [209.85.220.42] ([209.85.220.42:53139] helo=mail-pa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/00-52800-58395A05 for ; Thu, 15 Nov 2012 20:14:46 -0500 Received: by mail-pa0-f42.google.com with SMTP id fa1so1481692pad.29 for ; Thu, 15 Nov 2012 17:14:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=IXoNEtgTD3abXiUtEi+VnYWfmqYSK1P2Ix64ehz059k=; b=WKsPgCfMmbIzXaj6kySmXSo41bcYFjECr5cC1TMZVcSy0PbyeF9Xw6g5HQg+eGD9z1 t5JtBYmkwv0lp+z5IGjE3Ox9LXFgDGe9W679iD+M41Xbj2/Y4C/n75ClPiDEhKAkkVlw h8OmhVO2loZ7EuuFJPewn8CPf6JLPOt1JWzSVHb7pl4M4sb+o2A9c8CKKuaimxBVk3E0 dP217BXSnr83MqBCjJrXhJ7EcYEr0BQ1CjAqT5GGnjq2WGk9oeCRGCRocugs73vP5nFH 1mBagOHe4CJdnYnkWYM3/9BJKQTtsJaK7/OJvFP4c1qa8JsxKae7j8Sx22pfwJmpNTVD LOvg== Received: by 10.68.132.202 with SMTP id ow10mr9866651pbb.139.1353028483102; Thu, 15 Nov 2012 17:14:43 -0800 (PST) Received: from [192.168.2.100] (c-71-56-134-232.hsd1.wa.comcast.net. [71.56.134.232]) by mx.google.com with ESMTPS id x8sm97291paw.16.2012.11.15.17.14.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2012 17:14:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=windows-1252 In-Reply-To: <50A58828.4070701@lerdorf.com> Date: Thu, 15 Nov 2012 17:14:38 -0800 Cc: Sherif Ramadan , Anthony Ferrara , Will Fitch , Stas Malyshev , Adam Harvey , Devis Lucato , PHP Developers Mailing List Content-Transfer-Encoding: quoted-printable Message-ID: References: <50A20CCB.8090909@lsces.co.uk> <8A8A29F9E43E417FB5450D63019B2DDB@NeiRoze> <8f4231fc-6e3c-4a33-af71-2af5e7a95dfd@email.android.com> <50A2D672.7010600@gmail.com> <50A30144.5070305@phpgangsta.de> <50A3BEC0.8030607@gmail.com> <50A54713.8090102@sugarcrm.com> <50A549EB.2020408@lerdorf.com> <50A58828.4070701@lerdorf.com> To: Rasmus Lerdorf X-Mailer: Apple Mail (2.1278) X-Gm-Message-State: ALoCoQnrWJO8rN9VayPaDCE4RY9r6UocQIbmV7vMjBoXWCt8QEJBVIeOWiK9dx+GIJU8QyDWhUv8 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: philip@roshambo.org (Philip Olson) > The main argument is that we haven't actually made it clear in the > manual that the extension is going to be deprecated. There is a user > note on http://www.php.net/manual/en/book.mysql.php and a "This > extension is not recommended for writing new code" on > http://www.php.net/manual/en/intro.mysql.php >=20 > As Anthony mentioned, this is a very weak best-practice type of = message > that we are only barely whispering here. To go from that to start > throwing deprecation warnings on what is perhaps the most heavily used > PHP extension ever is a rather drastic step. Your argument seems to = be, > "Well, there is no point documenting it because people won't read it > anyway", which may be true, but we haven't actually tried that yet and > for something like this I think it should be the first step. I wanted to clarify that it was intentional to not use the word=20 "deprecated" in the documentation because it's not deprecated. However,=20= the documentation for *every* ext/mysql function begins with a pink box=20= that says it's discouraged, and these boxes suggest alternatives via=20 mysqli/pdo_mysql. Whatever the case, we'll update the documentation now. It'll clarify = that one day this extension will be deprecated. The only question here is the=20= "how" and "when" but that's not a showstopper for the docs. As for the ext/mysql->mysqli conversion script. It's outdated and = difficult=20 to find but we'll make an official php.net version and promote/update it = so=20 eventually it'll become awesome. It's certainly not ready today. I = suspect people will also want an ext/mysql->pdo_mysql version. No promises = there=85 :) Regards, Philip