Re: Re: php exception handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cant http://us3.php.net/manual/en/function.set-exception-handler.php be used ?

<?php
function exception_handler($e) {
    //mail('to', 'exception', $e->getMessage());
}
set_exception_handler('exception_handler');

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux