Re: no default value

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

 



On Tue, July 17, 2007 7:01 am, Man-wai Chang wrote:
> Is there a parameter in php.ini that requires all variables to be
> explicitly initialized, rather than being automatically assigned the
> value of false?

No.

There is a parameter in php.ini that tells you when you USE an
uninitialized variable, however.

error_reporting = E_ALL

E_ALL includes E_NOTICE which is off by default which is just plain
daft, if you ask me...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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