Re: [RFC][DISCUSSION] Add preg_replace_callback_array function
| From: | Xinchen Hui | Date: | Mon, 16 Mar 2015 05:59:48 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Add preg_replace_callback_array function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84986@lists.php.net to get a copy of this message | ||
Hey:
On Mon, Mar 16, 2015 at 9:40 AM, Wei Dai <zxcvdavid@gmail.com> wrote:
> Hi internals,
>
> The RFC to add a user-land function for an easy-to-use and reliable
> preg_replace_callback_array() in PHP is up for discussion:
> https://wiki.php.net/rfc/preg_replace_callback_array
>
> This proposes adding one function:
>
preg_replace_callback_array() that
> is the better way to Implement when there are multiple patterns need to
> replace.
>
> I would love to hear your feedback! :)
> Any objections?
I have no objections on this, since I proposed similar thing before..
I think this is a good addition after we removed /e
if you objections raise in couple days, I will merge this.
thanks
>
>
> —
> Best,
> Wei Dai
>
--
Xinchen Hui
@Laruence
http://www.laruence.com/