Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63345 invoked from network); 25 Mar 2015 14:33:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2015 14:33:43 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.51 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.51 mail-wg0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:35928] helo=mail-wg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/00-63185-647C2155 for ; Wed, 25 Mar 2015 09:33:42 -0500 Received: by wgra20 with SMTP id a20so29711777wgr.3 for ; Wed, 25 Mar 2015 07:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=h6dLuSPb3s1rBWV2FyuZg+5fVjQh2p/oCi5StZs1dWg=; b=klUEMEpjNRsEsbrrt7I8R5GVfGigXQJA4fm5v7tP+OgouA4gISrW4C6/17liJawttd lxE7cA0ScV7RrbHOGRBfU31DHBMAtc0zBXFRx99yaXSw9jcwp6rkv4Cupbm9hlZfcJvV vRGaRYiCWOZgezI46hK0F6/RYIJ8TEG5+hbPyu3gvJpTeaFiUzS+QIdfGk9ZRQpAdW4k 9WJCal0S6PHYcRhqTqdS96h41QLPw9h9lp2G6CfqymAC8RCV3ZBxapQnGLyUxH+MpzEN ePRdagLPUfwy3GawkDUAWPYtdY8JkKCrFUJcECT6xBCmZCSpapr0aD4zd5SdKBfQ6Aon UGDg== X-Received: by 10.194.11.9 with SMTP id m9mr18482344wjb.82.1427294018710; Wed, 25 Mar 2015 07:33:38 -0700 (PDT) Received: from [192.168.0.159] ([62.189.198.114]) by mx.google.com with ESMTPSA id hj10sm3961092wjc.48.2015.03.25.07.33.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 07:33:37 -0700 (PDT) Message-ID: <5512C718.2020008@gmail.com> Date: Wed, 25 Mar 2015 14:32:56 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <66c0cca2453de53bed0328af2732c7bd@mail.gmail.com> <50.00.26446.A7E72155@pb1.pair.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecate or remove mbstring function overloads in PHP 7 From: rowan.collins@gmail.com (Rowan Collins) Chris Wright wrote on 25/03/2015 13:44: > That said, in the interests of not causing people using this functionality > issues with logs full of errors and/or error-related performance issues, I > would support having this deprecation set up in such a way that an error is > only issued at most once per request - there's no need to issue a > deprecation warning at every function call. I guess the advantage of doing it on each function call is that you see which areas of code are relying on the feature, rather than just that it's enabled. Maybe we need a smarter way of signalling deprecation in general, because it's very all-or-nothing at the moment. But that could possibly be implemented as a userland error handler which de-duped errors before outputting them. Regards, -- Rowan Collins [IMSoP]