Variable naming standards???
| From: | Gerard Samuel | Date: | Tue, 13 Aug 2002 13:52:02 +0000 |
| Subject: | Variable naming standards??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112314@lists.php.net to get a copy of this message | ||
A philosophical question....
Are there any standards to naming variables??
I was told that one should include a letter or combination of letters to describe a variable
i.e.
$sfoo = 'string'; // string
$bfoo = true; // bool
$nfoo = 10; // interger
etc....
Thanks
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/