PHP - Error and Exception Handling
What will be the output of this PHP code?
function myErrorHandler($errno, $errstr) {
echo "Error: $errstr";
return true;
}
set_error_handler('myErrorHandler');
echo 10 / 0;