# Supress PHP errors?

**URL:** https://forum.kirupa.com/t/supress-php-errors/215228
**Category:** programming
**Created:** [February 5, 2007, 4:47pm UTC](https://forum.kirupa.com/t/supress-php-errors/215228 "2007-02-05T16:47:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![duncanhall](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@duncanhall](https://forum.kirupa.com/u/duncanhall)
#### Post date: [February 5, 2007, 4:47pm UTC](https://forum.kirupa.com/t/supress-php-errors/215228/1 "2007-02-05T16:47:18Z")

</div>

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