Well, I'm not sure what a "shout box" is but I believe I get the idea.
There is probably not a function, not a class written specifically to strip out just html and php tags. For the the most part it would be a waste. Never fear, most developers use handy-dandy regular expressions for things like this.
For example, one way to pull out those nasty html tags is to use one of php's regular expression functions:
$your_text = eregi_replace ( "<[^>]*>", "", $your_text);
This says upon matching the pattern ("<[>]*>") in $your_text, replace it with nothing (empty string).
I'd write the additional php tag matching into the pattern above but I think you should learn regex pattern syntax so your life is easier
๐
Have fun