Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63849 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23754 invoked from network); 13 Nov 2012 18:29:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2012 18:29:41 -0000 Authentication-Results: pb1.pair.com header.from=ronabop@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ronabop@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: ronabop@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:59187] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/34-30200-39192A05 for ; Tue, 13 Nov 2012 13:29:39 -0500 Received: by mail-vc0-f170.google.com with SMTP id fo14so8394571vcb.29 for ; Tue, 13 Nov 2012 10:29:36 -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=EDE+BZnCtvp3rZ9uPzRdgSHzbj/Ik3ks10hiUPj6CZk=; b=jqJAi9TCptbSdrPshWR0ZjNFQmFgvGzVg1LQsh4Kkid70h8ShjU0HIqy7IuK5/7DC6 F7klvhXgiUxEHfRIA1q+SUaRFDTWpz/8hhEAUQ+/kaMomAj/FG2vSM6y7/2zd9BpKMnE WAWjAmGUOn7hTOSCrIhXiYO+UnaFu/P0NU+9/Yxvd1Zw6Tkfj2Vt9YTai57vopQ4cMkg orPOI4WqxWlcBGMiZP6RGHCpWPhaKi25ICqTXWj1E76rGxc91GqQw3m4mLJvxCx/vmyn z78J7DDYUTl0SfhhlwVFAaOaYFjvUOoXGVVnuWfAnYCP85tMJyIXVJzEscNWJEZkQRVW Hp2g== MIME-Version: 1.0 Received: by 10.52.98.105 with SMTP id eh9mr28598830vdb.11.1352831376469; Tue, 13 Nov 2012 10:29:36 -0800 (PST) Received: by 10.58.114.225 with HTTP; Tue, 13 Nov 2012 10:29:36 -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 10:29:36 -0800 Message-ID: To: Arvids Godjuks Cc: 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: ronabop@gmail.com (Ronald Chmara) 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. -Ronabop