I'm trying to build a custom error handling class, but there's something i'm probably missing.
if i set the error_reporting to:
Code: Select all
error_reporting(E_ALL^E_NOTICE)Code: Select all
..........
switch ($errno) {
case E_NOTICE:
echo "Caught a Notice:";
.......Any way to prevent this ? I would only like to deal with error found in the mask.