You are here: Re: Error Handler « PHP « IT news, forums, messages
Re: Error Handler

Posted by Pinoy Ako on 04/24/05 10:58

Noong 06:24 AM 4/23/2005, Ang sabi ni Richard Lynch...

>Is an undefined function one of the examples? If not, try one of those.

I use the examples given in the example and it works but I'm not after
errors inside a function. I'm trying to see, what if I forgot to create a
function or what if I mistyped a function, then it should trigger a fatal
error using the custom error handler.

>Also, did you remember to call http://php.net/set_error_handler as well as
>to define the function?

As I've said, I copied the sample given from the manual so here it is:
$old_error_handler = set_error_handler("userErrorHandler");

No, I did not define the function because like I said, that's what I'm
after. What if I mistyped a function or forgot to define a function or the
file containing the function goes missing, etc.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация