why also getting default error handler message with custom one which i setted with set_error_handler here is my code below
function custom_handler($error_level,$error_message){
echo "[$error_level] $error_message";
}
set_error_handler("custom_handler",E_WARNING);
require_once('try.php')
and here is the output
"[2] require_once(try.php): failed to open stream: No such file or directory Fatal error: require_once(): Failed opening required 'try.php' (include_path='D:\software\xampp\php\PEAR') in D:\software\xampp\htdocs\samples\code.php on line 14"