Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16849 invoked from network); 12 Nov 2012 14:02:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2012 14:02:26 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@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: julienpauli@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:64081] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/91-05794-17101A05 for ; Mon, 12 Nov 2012 09:02:25 -0500 Received: by mail-ie0-f170.google.com with SMTP id c12so10279724ieb.29 for ; Mon, 12 Nov 2012 06:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=q3WX62kH8SfYDKQLwFI5YvsJ9w4SFj2sMOdjmMX2PrU=; b=bpkfzJyEVVZcpKAiiKCrfIe3sWmk6IeR83XjgeIfnrRs4kGs9b0Ex+F6IUSINRmdVY uS56dZA58SgvHGqhpNmBXaG1m5qte88kpMjUeY/RQPumYBPr9csuQRTObRQjGIXheFF0 7XL9dcim9ykAmLkJbEJH4xIi53SmNzlKE2hsXap7FQgBqxoRbenZtnI0agKqche/8C5B NiYUkT2f2JwsN1ybSKXvAYGgwYVzpPzwKWcu0gS3cZbJbLFQCTFOpdEOjxEEaZRcWJWd GFsTaW+95lmYUuo+IQxa24bAsf6akmEmhq9yAYtudR1AxC8+AOF+ZIJrcStRuEDLYtRm ze/g== Received: by 10.50.140.106 with SMTP id rf10mr7850084igb.48.1352728943189; Mon, 12 Nov 2012 06:02:23 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.64.140.106 with HTTP; Mon, 12 Nov 2012 06:01:42 -0800 (PST) In-Reply-To: <50A0F797.30604@daylessday.org> References: <50A0F797.30604@daylessday.org> Date: Mon, 12 Nov 2012 15:01:42 +0100 X-Google-Sender-Auth: wbY0WhebKlJVHF6SY8mvzKmZ8-o Message-ID: To: Antony Dovgal Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: jpauli@php.net (jpauli) On Mon, Nov 12, 2012 at 2:20 PM, Antony Dovgal wrote: > On 2012-11-12 17:00, 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. > > > 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. Well, I think we can communicate, then educate people so that they dont use ext/mysql any more. It will take the time needed, but if we want this move to come up, we need to start it. Doing nothing about it, things wont move. I like educating through the documentation / through conferences, then through the code, using the designed-for-that E_DEPRECATED , then removing the extension. It may take years, but such a project should be clear to everybody (RFC), accepted, and started :) Julien.Pauli