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
// I assign null to the variable if I'm not sure what type it's going to have.
$var = null;
// 0 and FALSE are also ok choices, I try to use them for integers
Stuart Felenstein wrote:
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,
2 matches
Mail list logo