Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27860 invoked from network); 13 Nov 2012 18:52:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2012 18:52:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.220.42 mail-pa0-f42.google.com Received: from [209.85.220.42] ([209.85.220.42:44156] helo=mail-pa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/F4-30200-4D692A05 for ; Tue, 13 Nov 2012 13:52:04 -0500 Received: by mail-pa0-f42.google.com with SMTP id fa1so5141344pad.29 for ; Tue, 13 Nov 2012 10:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=//vIHxkkAJcojlwfzCMZb5DQgACV+/dnVu/GE/E2k/I=; b=fMHpM5NSOdzXJr2/r4P62lqIqLMqK0t8jy1NhxA+mJ39Ac+Pghyc1kuQ1AwaUkKS+m 2XzQCj4NIS82U5D7h/PSaezKq55KuTjYuDt9sRoMDspkcnAnbTqRVLBjcudUG+p5mg1z 4DNIQKil2J22CLoFpGffWXw96VUuIkIsxXSD012iWlzUrzH83KXrYsD4lysCqDCulDFf k2IIos8cjz4mfyXnwBY4PCtg+rcH+RRQefWcqbb/8qDXCw4b0NcI36AZ3eJKsJCxhgEU GSC7EjCblaaPpkVeUuy4t79SV9T+JxOPzBOSolFT98HGXwH/us2AUAW673vsdewjz+PB FPKg== MIME-Version: 1.0 Received: by 10.66.87.202 with SMTP id ba10mr46270pab.72.1352832721492; Tue, 13 Nov 2012 10:52:01 -0800 (PST) Received: by 10.66.235.2 with HTTP; Tue, 13 Nov 2012 10:52:01 -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 19:52:01 +0100 Message-ID: To: Ronald Chmara Cc: Arvids Godjuks , Anthony Ferrara , =?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: pierre.php@gmail.com (Pierre Joye) hi, On Tue, Nov 13, 2012 at 7:29 PM, Ronald Chmara wrote: > On Tue, Nov 13, 2012 at 8:28 AM, Arvids Godjuks > wrote: >> It took me like 10 minutes of "Search & Replace" in my IDE to make a switch >> to mysqli and a few more hours to validate that everything is ok and catch >> places where search & replace failed. The amount of work is overestimated, >> especially if you have a regexp capable search & replace. > > 10 minutes x 50 billion > (http://www.statisticbrain.com/total-number-of-pages-indexed-by-google/ > ) is not a trivial number. Heck, assume even only 10% of the web pages > on the internet use mysql_* calls, and you're still talking 50 billion > minutes, or about 95 thousand years. At 1%, it's only 9 thousand > years, possibly greater than the entire written and recorded history > of the human race. > > Considering there are a huge quantity of PHP end users (Drupal, > Joomla, Wordpress, Magento, etc.) who don't even know what 'regexp' > means, and would take a lot more time than ten minutes just trying to > understand why "my website is broken, can you fix it?".... yeah. > > On the less pessimistic side, since I work as a PHP site > author/maintainer for a living, a pool of 9,000 years of work would > suit me just fine. Even 900 years would equate to a huge jobs program > for my field. Can we stop about arguing about the removal? It is not happening and won't until 6+. We are talking about adding a E_DEPECRATED notice, nothing else. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org