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