php-Error Control Operators

PHP gives one error control operator: the at sign (@).Any error messages that might be generated by that expression will be ignored.
If you have set a custom error handler function with set_error_handler() then it will still get called, but this custom error handler can call error_reporting() which will return 0 when the call that triggered the error was preceded by an @. 

<?php/* Intentional file error */$test_file = @file ('no_existent_file') or
    die (
"Failed opening file: error was '$php_errormsg'");
// this works for any expression, not just functions:$val22 = @$cache[$key];// will not issue a notice if the index $key doesn't exist.
?> 
 
or  
add  error_reporting()  in the script