Error Handling

Custom Error Handler for
Error line:
Error file:
Error number:
Error string:
Error context:

\n"; echo "Sorry. You do not have proper access to this system. \n"; echo "

\n\n"; $stop = true; break; default: echo "Default error handling case
\n"; } if ($stop) { echo " \n"; echo " \n"; die(); } } function addOne($number) { return $number + 1; } set_error_handler("customHandler"); $answer = addOne(); ?>

2 + 1 =