[PHP] Re: no default value

2007-07-18 Thread Man-wai Chang
> E_ALL includes E_NOTICE which is off by default which is just plain > daft, if you ask me... Thank you. -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.6.22.1 ^ ^ 17:52:01 up 6 days 19:56 1 use

Re: [PHP] Re: no default value

2007-07-17 Thread Richard Lynch
On Tue, July 17, 2007 8:11 am, Man-wai Chang wrote: > Thank you. This is horrible as a simple typing mistake ($sucess rather > than $success) would waste me some time hunting down the problem. > Foxpro > isn't like this If it's still horrible after you turn on E_NOTICE, and the errors telling

[PHP] Re: no default value

2007-07-17 Thread Al
A good php editor will prevent this type of error. e.g,. phpEdit does auto variable completion. Assume you've assigned $success=foo. Later you key $sup... the editor competes it for you as $success. Man-wai Chang wrote: Thank you. This is horrible as a simple typing mistake ($sucess rather

[PHP] Re: no default value

2007-07-17 Thread Man-wai Chang
Thank you. This is horrible as a simple typing mistake ($sucess rather than $success) would waste me some time hunting down the problem. Foxpro isn't like this -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.