Programming, error messages and sample code
How to turn off php display_errors with ini_set function?
Programming, error messages and sample code > PHP
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');
?>