php-general | 2001092
Date: 09/27/01
- Next message: ReDucTor: "Re: [PHP] A kewl Script, for you someone to test, and show me the results"
- Previous message: * R&zE:: "Re: [PHP] Variable declaration"
- In reply to: * R&zE:: "Re: [PHP] Variable declaration"
- Next in thread: * R&zE:: "Re: [PHP] Variable declaration"
- Reply: * R&zE:: "Re: [PHP] Variable declaration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ReDucTor: "Re: [PHP] A kewl Script, for you someone to test, and show me the results"
- Previous message: * R&zE:: "Re: [PHP] Variable declaration"
- In reply to: * R&zE:: "Re: [PHP] Variable declaration"
- Next in thread: * R&zE:: "Re: [PHP] Variable declaration"
- Reply: * R&zE:: "Re: [PHP] Variable declaration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

