function bb_code var var preg_replace array code code se array nosmile

1
2
function bb_code($var) {
$var = preg_replace(array ('#\[code\](.*?)\[\/code\]#se'), array ("''.nosmiles(highlight('$1')).''"), str_replace("]\n", "]", $var));