Supress PHP errors?

Is there anyway to prevent PHP from outputting any text/html upon encountering an error?