Re: Variable declaration

From: Date: Thu, 27 Sep 2001 08:13:00 +0000
Subject: Re: Variable declaration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68964@lists.php.net to get a copy of this message
> > What do you mean force declaration? That's what you are doing with this > > line: > > > > $Test = 3; > > Nop! This is just starting to use a variable. Something like: > > integer $Test; > > is declaring a variable. But FAFAIK it's not possible in PHP :( Like I said, that line does both. It sets the type internally to an integer and assigns the value. -Rasmus

« previous php.general (#68964) next »