[RFC][DISCUSSION] Add preg_replace_callback_array function

php.internals

David Dai

11 years ago
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. Any objections? I would love to hear your feedback! :) — Best, Wei Dai