display_errors
:
This determines whether 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, using:
ini_set('display_errors', '0');
Example:
<?
php
echo ini_get('display_errors');
ini_set('display_errors', '0');
echo ini_get('display_errors');
?>
Article ID: 1504, Created: September 6, 2013 at 7:02 AM, Modified: September 11, 2013 at 3:12 AM