CVS update: php3
| From: | zeev | Date: | Thu, 10 Sep 1998 20:22:32 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-915@lists.php.net to get a copy of this message | ||
Date: Thursday September 10, 1998 @ 16:22
Author: zeev
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv27979
Modified Files:
CODING_STANDARDS
Log Message:
Fix for #735
Index: php3/CODING_STANDARDS
diff -c php3/CODING_STANDARDS:1.5 php3/CODING_STANDARDS:1.6
*** php3/CODING_STANDARDS:1.5 Tue May 26 16:56:05 1998
--- php3/CODING_STANDARDS Thu Sep 10 16:22:32 1998
***************
*** 79,81 ****
--- 79,95 ----
[4] Variable names should be in lowercase; Use underscores to seperate
between words.
+
+
+ Syntax and indentation
+ ----------------------
+
+ [1] Never use C++ style comments (i.e. // comment). Always use C-style
+ comments instead. PHP is written in C, and is aimed at compiling
+ under any ANSI-C compliant compiler. Even though many compilers
+ accept C++-style comments in C code, you have to ensure that your
+ code would compile with other compilers as well.
+ The only exception to this rule is code that is Win32-specific,
+ because the Win32 port is MS-Visual C++ specific, and this compiler
+ is known to accept C++-style comments in C code.
+
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net