Porva così:
$testo=preg_replace('!\[SIZE=(.*?)\](.*?)\[/SIZE]!', '<span style="font-size"'.$1.'">'.$2.'</span>', $testo);