Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27054 invoked from network); 15 Nov 2012 20:11:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2012 20:11:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.216.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:36224] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/F6-07334-48C45A05 for ; Thu, 15 Nov 2012 15:11:49 -0500 Received: by mail-qc0-f170.google.com with SMTP id d42so1440765qca.29 for ; Thu, 15 Nov 2012 12:11:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=sRQK2q74bH5obcBqfioy/uG+AXIbghlRy6QAKHmrrqQ=; b=T70m3t+0RJF53lpQs3GajyC0wWtluCqHIfQfaSMX/WCfRdVKyr2Itr8zAsCFxRHHbz Xlu9O6Habc5TTZRMb4TJReDtGu1QmeUest1WCYJ9oNUnmdoMnIOmCCnl20R/fmb89Ms0 zlgG54RUybaLiA2Qcg7Djk4ZkkUkrdwpxZ7B51bxRNVVzQ8+OMfr6+hdeQMBhLqe1y0D D7Wv2gVMLtQ2Ak4EN/y094rO6dpP264X1cAEy7ORqBndyzwTGDYZZ6U9LTf2Cxpv3PpZ IhR0O5eutolftmn2l+nxRyg2kJbWzRE85G0zFbvJmJ+FhRMXI2GGY4stWhcXtzbPXIAZ k0Sw== Received: by 10.224.39.83 with SMTP id f19mr2291127qae.76.1353010306078; Thu, 15 Nov 2012 12:11:46 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id eq10sm4829957qab.0.2012.11.15.12.11.44 (version=SSLv3 cipher=OTHER); Thu, 15 Nov 2012 12:11:45 -0800 (PST) Message-ID: <50A54C7F.6020701@lerdorf.com> Date: Thu, 15 Nov 2012 12:11:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Will Fitch CC: Stas Malyshev , Adam Harvey , Devis Lucato , PHP Developers Mailing List References: <50A10A9D.9070402@oracle.com> <50A1946F.8010407@lerdorf.com> <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> In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlSwYZBpvbBufAMLhDXjhb+uHTqjbZgYgOFn3ZO1JXdfp3Zp01w5lVN2bV33EJdkhst4W17 Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: rasmus@lerdorf.com (Rasmus Lerdorf) On 11/15/2012 12:08 PM, Will Fitch wrote: > On Thu, Nov 15, 2012 at 3:00 PM, Rasmus Lerdorf wrote: > Actually, no it wouldn't. You still get the overhead of the error, plus > any custom error handlers will be triggered regardless of the > error_reporting setting which depending on the implementation of the > error handler can be quite costly performance-wise. > > So what solution is there to this? Should it not be deprecated? This > same issue (is still happening) with register_globals for us, but it's > acceptable as it has been phased out. Should there be no deprecation > warning now and wait for a future release? I'd like to see usage drop off first so we aren't negatively affecting millions of sites performance-wise, and/or we streamline the error handling code so there is a way to avoid this performance hit. -Rasmus