coding standards
| From: | Michael | Date: | Sun, 19 Aug 2001 11:41:28 +0000 |
| Subject: | coding standards | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63383@lists.php.net to get a copy of this message | ||
Ive read through the PEAR coding standards but was wondering about a few
things not talked about in them -
- Is declaring all variables a good idea - so theres no unassigned
variables hanging around ? (no warnings produced when error reporting
set to E_ALL)
- Naming of include files - .inc or .php ?
- naming of class files .inc or .php ?
I know these have no big effect on the actual scripts themselves - but
was wondering what people consider "good practice" to be.