Vidyut Luther wrote:
and then:
trigger_error("log(x) for x <= 0 is undefined, you used: scale =
$scale", E_USER_ERROR);
?>
So, wouldn't this make $errno in the "myErrorHandler" be "log (x) "
rather than E_USER_ERROR ?
No, because you're calling trigger_error, not myErrorHandler.
The
I'm writing a error handler for my scripts, so I went to : http://
us3.php.net/manual/en/function.set-error-handler.php
I noticed something in the example 1 given there.
and then:
trigger_error("log(x) for x <= 0 is undefined, you used: scale =
$scale", E_USER_ERROR);
?>
So, wouldn't this
2 matches
Mail list logo