Re[2]: [PHP] Variable declaration
| From: | Manuel Carrara | Date: | Fri, 28 Sep 2001 20:42:24 +0000 |
| Subject: | Re[2]: [PHP] Variable declaration | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69224@lists.php.net to get a copy of this message | ||
From: * R&zE: <renze@datalink.nl>
Date: Freitag, 28. September 2001 , 22:37:21
Subject: [PHP] Variable declaration
>> > its really a big headache with compilers like c bugging all the way just for
>> > declarations.
Rz> One remark, btw. Using explicit declarations isn't really more of a
Rz> <quote>headache</quote> then _not_ using expl.decl. When you don't
Rz> use explicit declarations, you'll need to check wether or not a
Rz> variable is defined at (almost) any point where you want to use it.
Will have this feature, too. ;)
Ok strong typing can be done in other languages but hey php5 Ze2 will
have more OO features, why not strong typing too ???
You can switch it on if you want, or leave it off.
I suggest: default off but you have the possibility to use it.
Maybe in php5 ??
-Manuel