Re: display_errors in DEV

From: Date: Tue, 21 Oct 2008 16:40:14 +0000
Subject: Re: display_errors in DEV
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-282206@lists.php.net to get a copy of this message
On Tue, 2008-10-21 at 16:33 +0000, ceo@l-i-e.com wrote: > Until recently, I've thought that display_errors in DEV was "good" > > But as soon as you move into Ajax Web 2.0 world, it really doesn't cut it. > > You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably, and the whole thing > might "just work" but you'll have plenty of buggy code. > > I think it's time for the PHP team to recommend log_errors across the board. > > What do you think? Have a simple switch for ajax requests so errors to go into a file... or send the errors along as part of the ajax request and have the ajax code popup a warning that is readable. Or whatever :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#282206) next »