Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65501 invoked from network); 4 Jan 2016 19:52:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2016 19:52:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.194 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.194 mail-yk0-f194.google.com Received: from [209.85.160.194] ([209.85.160.194:34585] helo=mail-yk0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/C9-07292-28DCA865 for ; Mon, 04 Jan 2016 14:52:35 -0500 Received: by mail-yk0-f194.google.com with SMTP id v14so15030369ykd.1 for ; Mon, 04 Jan 2016 11:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=nDv5mZYbYuXQQvjZc7fIAMNhUEQ+KJfjK2E+pdlFk7o=; b=Butaq+O7kUOhdORPOYMwCMWnUOD2l9adF3YUDLpcpo9GhD100MX5ntVhBX2nwM67qQ ZU9n9y8jJ7kOOXkfY1H/gYs/uxluzYLwt8srtgUce4UJ0Ev0AS8mwPeg/1WWf7GMhj6+ fAJ38JjkDJZL/xSGKRpPPvIORfkO0j4FHOj+tUj5oiQ0XTS0YTJAYCIQTznsqT+U8JA2 Tcvht5yZSl5ON3mR4oY30IeaBAb7g+EisDBB9KEHWr8KmDD84miliBFwpa44z4bv5/hm q/L5uNT3vuBa9wyMOT91a0NQXQDoIL4jmVu96HbVHrzBZ7MO/mjkehXEaTm3ydjsHkMp hZeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nDv5mZYbYuXQQvjZc7fIAMNhUEQ+KJfjK2E+pdlFk7o=; b=RJGIOT9NywtCts8Skz0aLWYiQNUOtqHolRwecoZuJShBWMBhFVIy0/wwXMqHXmcH1K P7VJqQCp70Uf0qTm5REPIpCVPnzk4ewhWhvHL9uV4352tHrZVFKKfLhaBzt2ufLgCMp8 AKOGRT1p9VcxyQV75DEsprvBscBUGR1fKn0iu+JXqFhRnS+1QY/yyN3MrL5svCyKpx01 n4hh45ot6FCyyiVSZYZaszO5Y/fPR/qJF0NNTjb25q6zQTSrNUxGnaFQLeT7oX3T2UYE TnuXl5bfIqNUkksSQbtgG0+eTr3uBZG00A2PFp+prWPKsbY9HlB40JSeGNazEfbCrh2/ gKVg== X-Gm-Message-State: ALoCoQnRuCZ6xKm2SKTDgeTZt9aF+8haNSs4BUXL2jAI6Acm+KfQNJkpTJBo1hKFYz0ZxBPm/dwrucTSzcit+CHvxj/kTnIYrA== MIME-Version: 1.0 X-Received: by 10.129.135.7 with SMTP id x7mr63419216ywf.95.1451937152158; Mon, 04 Jan 2016 11:52:32 -0800 (PST) Received: by 10.37.79.213 with HTTP; Mon, 4 Jan 2016 11:52:32 -0800 (PST) X-Originating-IP: [2.99.239.242] In-Reply-To: References: Date: Mon, 4 Jan 2016 19:52:32 +0000 Message-ID: To: =?UTF-8?Q?Rouven_We=C3=9Fling?= Cc: Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: Deprecate mb_ereg_replace eval option From: danack@basereality.com (Dan Ackroyd) Hi Rouven, On 4 January 2016 at 16:46, Rouven We=C3=9Fling wrot= e: > I=E2=80=99d like to propose the following RFC to you https://wiki.php.net= /rfc/deprecate_mb_ereg_replace_eval_option > > The mandatory discussion period will end January 19th. Are the wrong functions are listed in this sentence: "Emit an E_DEPRECATED error whenever mb_ereg_replace_callback or mb_eregi_replace_callback is called with the e option." As the RFC is meant to be about mb_ereg_replace, mb_eregi_replace right? The RFC doesn't say what functions people should use in place of the deprecated functions. This needs to be laid out clearly. I can guess what should happen for mb_ereg_replace, but there's not clear replacement for mb_eregi_replace, as there is no "mb_eregi_replace_callback" function. That ought to be thought about and added to the RFC. > The mandatory discussion period will end January 19th. That sentence is implying that you will put it to the vote as soon as possible. Please don't do that. There is no rush to deprecate these functions; the earliest they would actually be removed is years away, and there needs to be a path guiding the people on how to replace that functionality in place before we deprecate them. Additionally, people should be given time to respond with feedback. cheers Dan