Re: no default value

From: Date: Tue, 17 Jul 2007 12:46:28 +0000
Subject: Re: no default value
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259005@lists.php.net to get a copy of this message
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? I think you'll find they get assigned the value of null, not false. There is no setting that enforces such a requirement, but you can get some of the way there by enabling the display of notices which will tell you whenever a variable is used without being initialised. -Stut -- http://stut.net/

« previous php.general (#259005) next »