RE: [PHP] Parse Error - Help? (AGAIN)
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Thu, 25 Apr 2002 18:18:43 +0000 |
| Subject: | RE: [PHP] Parse Error - Help? (AGAIN) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94613@lists.php.net to get a copy of this message | ||
You know, I once said the same: better fix the notices and keep the code
"clean". But as I've done several performance tests I came to a
conclusion that there's no much difference debugging the code yourself
or let PHP doing it. Often predefining manually a variable resulted to
me being even more 'expensive' then when PHP debugs it. I think it is
wise using this feature of PHP. The only reason not to is for having the
full control of your code.
Just my 2 Eurocents
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
> -----Original Message-----
> From: Nathan [mailto:etherwolf@sopris.net]
> Sent: Thursday, April 25, 2002 7:15 PM
> To: PHP
> Subject: Re: [PHP] Parse Error - Help? (AGAIN)
>
> I'll second that one... always better to code with register_globals =
Off and E_ALL
> reporting level
> IMHO.
>
> # Nathan
>
> ----- Original Message -----
> From: "Philip Olson" <philip@cornado.com>
> To: "Maxim Maletsky (PHPBeginner.com)" <subscriptions@phpbeginner.com>
>
> > To stop receiving the messages from undefined variables add this at
top
> > of your files:
> >
> > error_reporting(55);
>
> Or better yet, keep as you're doing and develop with E_ALL
> and fix those E_NOTICE errors correctly! ;)
>
> Regards,
> Philip Olson
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php