Re: 回复: [RFC][DISCUSSION] Ad d preg_replace_callback_array function

From: Date: Fri, 20 Mar 2015 15:49:04 +0000
Subject: Re: 回复: [RFC][DISCUSSION] Ad d preg_replace_callback_array function
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-85299@lists.php.net to get a copy of this message
Am 20.03.2015 um 09:03 schrieb Wei Dai:
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?
Why not simply allow the callback to be an array, too?
— Wei Dai


« previous php.internals (#85299) next »