Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63807 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18602 invoked from network); 12 Nov 2012 14:15:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2012 14:15:25 -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.219.42 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.219.42 mail-oa0-f42.google.com Received: from [209.85.219.42] ([209.85.219.42:52523] helo=mail-oa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/F1-05794-D7401A05 for ; Mon, 12 Nov 2012 09:15:25 -0500 Received: by mail-oa0-f42.google.com with SMTP id j1so6459398oag.29 for ; Mon, 12 Nov 2012 06:15:22 -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; bh=hzeGOpthokkYoBei+O6oeHpF+6wFvEL0vkDTaTkkmFM=; b=Z9CCN5TrEp9jSEq/To1DCpdIxwqyJ7vPBbHXxffirDlHWiuZqlb0Um8DaTzj89Ak7P poPLv2mEdDeG780nJAs4kc9lC+MWah1/GKUK1LtfdACyEVxBDgcEezyLLik1NtCqpQO7 7HS5bybyBcosciBj7INiItuyjeezbnnOR64ss= 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 :x-gm-message-state; bh=hzeGOpthokkYoBei+O6oeHpF+6wFvEL0vkDTaTkkmFM=; b=ESoGDeMsiwK7urrOcYE64swzpnCD/PsKdIoejjt4xYrj4HP5AczllUa0v4VruDzIs7 zm2Lgjxe/T8QhHqHDM/3i5l9gqZ8/ghBzuVXdOQ/8Z7dRwyoBlbzmqsK+UNo4LR3Lh0+ FUQDVRH8SKMuyztptWPCbsUcRjnw4f+rRPW5HwWsezhApKDDrpDA0Y6bqAn236KkLiSa ZO7rtCMVAFxvdjJ597cwONJFOTUKFCv8e+bYzvTjRSI4B6wuiuAb2pAt+IWQ7CpkYD1x TRGH5ljYtMTcYRXID5+6i2EjDm7Be9uPbUCGrYx/alP6ZX16vC90JAOKNjZ5DjGrYJ96 b46g== Received: by 10.60.14.138 with SMTP id p10mr3836404oec.20.1352729722114; Mon, 12 Nov 2012 06:15:22 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.123.75 with HTTP; Mon, 12 Nov 2012 06:15:01 -0800 (PST) In-Reply-To: <50A0F797.30604@daylessday.org> References: <50A0F797.30604@daylessday.org> Date: Mon, 12 Nov 2012 22:15:01 +0800 X-Google-Sender-Auth: xXEgl8KLgQCV9PHHioFowOWdU7Q Message-ID: To: Antony Dovgal Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnrpPTO0Z8xVEGiQOcAUiooGUVfXJgGzeG5KYXQFlYakmlTEEpOHVpUI2uJy4VI/8VlE26C Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: aharvey@php.net (Adam Harvey) On 12 November 2012 21:20, Antony Dovgal wrote: > While I fully understand the reasons behind this, I still believe this kind > of thing should be done using the documentation only. > > Generating 'educational' notices will just annoy the end users and in 99% > cases they can't do a thing about it - > nobody's going to rewrite a large piece of legacy software just to make PHP > happy. > > More notices doesn't necessarily mean less people are going to use > ext/mysql, > you can't hasten users to move if they don't really want to do it > themselves. I don't think the documentation is necessarily effective here, particularly with functions that users tend to know by heart: to pick on session_register() and friends as an example, it seemed like the E_DEPRECATED notice added in 5.3.0 was the impetus for quite a few people to come out of the woodwork on IRC and start asking about $_SESSION, even though it had been listed as deprecated in the manual for at least 12 months before that. I'm not really convinced the average user ever looks at the manual for things they know, truth be told. Adam