Etwas
public php v1 · immutable<?phpclass bbcode {var $tags = array()function bold() { $this->tags['b'][0] = '\[b\](.*)\[\/b\]'; $this->tags['b'][1] = '<b>$1</b>'; function underline() { $this->tags['u'][0] = '\[u\](.*)\[\/u\]'; $this->tags['u'][1] = '<u>$1</u>'; function italic() { $this->tags['i'][0] = '\[i\](.*)\[\/i\]'; $this->tags['i'][1] = '<i>$1</i>';}}}}?>