Yangshiqi wrote:
> And I do not want all my classes to inherit the debughelper.
> 
>  
> Best regards,
> Yang Shiqi
>  

Yikes!  I swear, some of these mailreader programs that people use... I
thought this was an actual answer to someone's question... anywho...

Have you checked out debug_backtrace() and set_error_handler()
http://php.net/manual/en/function.debug-backtrace.php
http://php.net/manual/en/function.set-error-handler.php

Exceptions in PHP5
http://php.net/exceptions

-- 
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to