PHP:
' .$replaced.'
'; $thephph = preg_replace('`\[php\](.+?)\[/php\]`is', $replaced, $string); return $thephph; } ?>