A BBCode Class for PHP5