Re: Best Practices for Hiding Errors

From: Date: Tue, 07 Apr 2009 13:01:53 +0000
Subject: Re: Best Practices for Hiding Errors
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-291168@lists.php.net to get a copy of this message
It's just an observation ;) If you have to use it or not, you have to decide better way. Regards, Igor Escoar Systems Analyst & Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Mon, Apr 6, 2009 at 9:56 PM, Chris <dmagick@gmail.com> wrote: > Igor Escobar wrote: > >> Becarefull, error supression is slow. >> > > If it's the only way to stop an error from showing up, what's the problem? > > php will still generate the warning/notice even if display_errors is > disabled - which will be even slower. > > Plus I never said use it everywhere, I said use it in particular cases and > comment your code about why you had to use it. > > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > >

« previous php.general (#291168) next »