I would imagine he meant the strip_tags function

If so, I don't get the same behaviour you appear to be having with strip_tags