quote:
Originally posted by J-Thread
function wiki_link($input) {
......
Holy crap, what was that?
I would have just used the 'e' modifier with preg_replace().
http://php.net/manual/en/reference.pcre.pattern.modifiers.php
quote:
Originally posted by PHP Manual
If this modifier is set, preg_replace() does normal substitution of backreferences in the replacement string, evaluates it as PHP code, and uses the result for replacing the search string.