Initializing variables

From: Date: Fri, 05 Nov 2004 21:52:36 +0000
Subject: Initializing variables
Groups: php.general 
Request: Send a blank email to php-general+get-201334@lists.php.net to get a copy of this message
I'm reading PHP security paper by Chris Shiflett. Trying to figure out what is meant by first initializing a variable. Now, just for the record, I'm not completely dumb. I know you can start with a $var = 2 What I want to know is if the variable assignment is unknown, as in a user form. Would I then just initialize the variables to 0 ? Stuart

« previous php.general (#201334) next »