You are here: Re: error_reporting () for a Production System? « PHP Language « IT news, forums, messages
Re: error_reporting () for a Production System?

Posted by Michael Fesser on 09/24/07 18:09

..oO(ashore)

>What level do you like to use, and why?
>
>In beta, I use error_reporting(E_ALL) to get all the feedback I can,
>but that may or may-not be the world's best idea in a system you're
>fielding. (This is in a Free/Open-Source project.) Thanks,all.

I use E_ALL|E_STRICT and write all errors to a logfile. Additionally I
use my own error and exception handlers, so most errors will throw an
exception, which will be logged with a nice backtrace to see how and
where the error occured.

Micha

 

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

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