quickerUBB
This ubb parser is about 10 times faster than ordinary preg_replace/eregi_replace ubb parser. This parser builds a tree of input text, therefore enabeling it to correct mispellings and unclosed tags. The script at the moment supports the most common UBB tags, which should be enough, but is also easily extendable to your wishes. UPDATE: * [14/02/2004]: Fixed the problem with [php] tags where * for all array-indexes an closing tag was added.: * ie: [php]$a[0] = 0;[/php] resulted in * <? $a[0] = 0; [/0]?>