Re: PHP newbie: I love it, but...
| From: | Bobby Patel | Date: | Thu, 08 May 2003 17:09:14 +0000 |
| Subject: | Re: PHP newbie: I love it, but... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146884@lists.php.net to get a copy of this message | ||
I have never used a debugger myself, while programming in any language.
but what I can suggest is turn up error reporting to the fullest, just put
this line at the start of your script:
error_reporting (E_ALL);
checkout php.net for info on this function.
"Jean" <jean@dpc.com> wrote in message
news:20030508062540.74511.qmail@pb1.pair.com...
> 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
>
>