i checked behavior on sample from [http://www.php.net/manual/en/function.set-error-handler.php](documentation) and not noticed that user handler checks error reporting status :(