display_error
determines that errors should be printed to the screen as part of the output or if they should be hidden from the user.
To turn it off, use: ini_set('display_errors', '0');
<?
php
echo ini_get('display_errors');
ini_set('display_errors', '0');
echo ini_get('display_errors');
?>