Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31676 invoked from network); 16 Nov 2012 12:28:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2012 12:28:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=streaky@mybrokenlogic.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=streaky@mybrokenlogic.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain mybrokenlogic.com designates 216.86.156.70 as permitted sender) X-PHP-List-Original-Sender: streaky@mybrokenlogic.com X-Host-Fingerprint: 216.86.156.70 server5.fusednetwork.com Windows 98 (1) Received: from [216.86.156.70] ([216.86.156.70:33356] helo=s5.fused.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/64-08060-75136A05 for ; Fri, 16 Nov 2012 07:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mybrokenlogic.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=x2tl4EJwlYN0pTi8zScSyc31nOVJmujdv4BPa+r3SV0=; b=gX8lgNTwUQXRlsHRoXMvEaQPfJevSGaj3DZyvIwBxNlZ0KZl3eLoX9+Oo5bAS7x7jwTu/pHQYSVdWVZWgryZOEvG9HJH4552Z77lMFxRfVUBG+wUtNfARpViKMDwIMYK; Received: from apt.345live.com ([46.33.129.233]:51165 helo=[127.0.0.1]) by s5.fused.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1TZL1f-0005Kq-Pa; Fri, 16 Nov 2012 06:28:04 -0600 Message-ID: <50A6314D.3060900@mybrokenlogic.com> Date: Fri, 16 Nov 2012 12:27:57 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Rasmus Lerdorf CC: Patrick ALLAERT , Pierre Joye , Anthony Ferrara , Will Fitch , Stas Malyshev , Adam Harvey , Devis Lucato , PHP Developers Mailing List 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> <50A5FB0C.1080602@lerdorf.com> <50A5FF83.1060706@lerdorf.com> In-Reply-To: <50A5FF83.1060706@lerdorf.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s5.fused.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mybrokenlogic.com X-Get-Message-Sender-Via: s5.fused.com: authenticated_id: streaky@mybrokenlogic.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: streaky@mybrokenlogic.com (Martin Nicholls) On 16/11/2012 08:55, Rasmus Lerdorf wrote: > I still don't see the point of using E_DEPRECATED like this for an > entire extension. And I think it will hurt more than it will help for an > extension this heavily used. It is going to encourage people to simply > turn off that warning because they will get it on every single request > which means they will never see the more subtle and granular > E_DEPRECATED warnings from other parts of their code. Catch 22 - if you do nothing people will keep using it, even for new stuff and progress is never made. This sort of thing is obviously a horendous nightmare - I personally wonder if flat out shiping it to PECL with a warning on the PECL page but no E_DEPRECATED might be the better solution. At least then people who are installing it will be actively aware they're doing it, without the 'scary' errors spat out when they connect to a server. Anybody who needs this will ask their host for it or more likely their host will already have it installed, but people installing PHP for local dev machines will probably have to go find it (and the developers are the target audience for these sorts of things) - which should be enough to tell them there's something different about this extension, and they'll see the notice on the site. I honestly can't see a situation where that would bother people more than keeping it but throwing E_DEPRECATED fairly often with a view to moving it later anyway - rip the plaster off in one go so to speak. Maybe PHP has a lot of users that are somewhat unstable and incapable of using PECL, I dunno ;)