I'm using PHP 4.3.1 as an Apache module.  No matter what I try, I can't get
set_error_handler() to do anything other than return false.  Under what
circumstances does this happen?

<?php
function doobee($errno, $errstr, $errfile, $errline, $errcontext) {
 echo "Handled.";
}

$retval = true;
if (($retval = set_error_handler("doobee")) == false) echo "Didn't work.";
// echos every time
?>


--
Jeff S.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to