Re: PHP newbie: I love it, but...

From: Date: Sat, 24 May 2003 15:40:59 +0000
Subject: Re: PHP newbie: I love it, but...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148839@lists.php.net to get a copy of this message
On 6/8/03 1:26 AM, "Jean" <jean@dpc.com> wrote: > PHP is a very nice language. Been about a week reading O'Reilly & writing > my first program. Making some fast progress. But, as I embellish my > program, I am beginning to run into trouble. I am finding PHP to be > extremely difficult to debug. There's a limit to embedding echo to check > the program flow. Then, there are times when the browser shows absolutely > nothing. Browser's Show Source Code lists next to nothing; I assume this is > because the interpreter hung on a missing brace or something and outputted > nothing! Until I become good at spotting my errors, I've got to find a > debugging tool. Any words of wisdom would be appreciated. > > Jean > > Hi Jean: I usually log my debuggin output to a file. Look at the error_log function, for example. I write a custom wrapper to send my errors there. In general look at the error handling section in the online PHP docs. You might also want to look into Zend Studio (www.zend.com) -- graphical IDE with integrated debugger for PHP. -- sgl ======================================================= Steve Lane Vice President The Moyer Group 14 North Peoria St Suite 2H Chicago, IL 60607 Voice: (312) 433-2421 Email: slane@moyergroup.com Fax: (312) 850-3930 Web: http://www.moyergroup.com =======================================================

« previous php.general (#148839) next »