[RFC][DISCUSSION] Add preg_replace_callback_array function
| From: | Wei Dai | Date: | Mon, 16 Mar 2015 01:40:04 +0000 |
| Subject: | [RFC][DISCUSSION] Add preg_replace_callback_array function | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-84963@lists.php.net to get a copy of this message | ||
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?
—
Best,
Wei Dai