Re: 回复: [RFC][DISCUSSION] Add preg_r eplace_callback_array function
| From: | Pierre Joye | Date: | Fri, 20 Mar 2015 11:46:58 +0000 |
| Subject: | Re: 回复: [RFC][DISCUSSION] Add preg_r eplace_callback_array function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85276@lists.php.net to get a copy of this message | ||
On Fri, Mar 20, 2015 at 7:03 PM, Wei Dai <zxcvdavid@gmail.com> wrote:
> Hi internals,
>> 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’ve sent this mail for four days, I don’t know if this RFC needs a vote.
> If you guys have no objections on this, please review the code and merge it,
> thanks.
Nice job, i like the idea.
I am not sure about a RFC or not. It somehow looks like a sane
replacement for something we killed (with good reasons).
Let see what the other think :)