PHP - Error and Exception Handling
Consider this code:
What will be the output?
function errorHandler($errno, $errstr) {
echo "Error [$errno]: $errstr";
return false;
}
set_error_handler('errorHandler');
trigger_error('Test error', E_USER_WARNING);What will be the output?
