Le agregué la e para que tome el código pero me lanza un caracter raro " " es un cuadrado =S
Código PHP:
$texto = preg_replace("/\\[CLAVE\\](.+?)\[\/CLAVE\]/ise",funcionUper('\1'), $text);
Warning: Unexpected character in input: '' (ASCII=1) state=1 in C:\AppServ\www\bbcode.php(21) : regexp code on line 1
Linea 21:
Código PHP:
$text = preg_replace("/\\[CLAVE\\](.+?)\[\/CLAVE\]/ise",funcionUper("\1"), $text);