Hi Andrei (and anyone else in on pcre),

This doesn't work as you might expect if you were used to preg_replace:

preg_replace_callback(
    array( ...patterns...),
    array( ...callbacks...),
    $subject);

Instead, it expects a single callback as the second parameter.

Any chance that it could be made to do so, or are there technical reasons
not to?

--Wez.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to