Re: Re: isset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-02-16 at 10:34, Richard Lynch wrote:
> Bret Hughes wrote:
> > On Wed, 2005-02-16 at 07:54, Matthew Weier O'Phinney wrote:
> >> * Bret Hughes <bhughes@xxxxxxxxxxxxx>:
> >> > I just wish there was a use strict; sort of deal so I would not have
> >> to
> >> > hunt down logic errors due to mistyping a variable name.

> You SHOULD be using E_NOTICE to get warned when you *USE* an unassigned
> variable/propery/element and PHP is forced to initialize it.
> 
> That will catch a bunch of your variable name typos -- And also will often
> let you know you typed it wrong in the place where you did the assignment.
> EG:


this is exactly what I was looking for Richard thanks.

Bret

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux