cvs: peardoc /en/chapters standards.xml
| From: | Sean Coates | Date: | Mon, 20 Dec 2004 20:06:20 +0000 |
| Subject: | cvs: peardoc /en/chapters standards.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5302@lists.php.net to get a copy of this message | ||
sean Mon Dec 20 15:06:20 2004 EDT
Modified files:
/peardoc/en/chapters standards.xml
Log:
made de-facto true,false,null case standard official
http://cvs.php.net/diff.php/peardoc/en/chapters/standards.xml?r1=1.26&r2=1.27&ty=u
Index: peardoc/en/chapters/standards.xml
diff -u peardoc/en/chapters/standards.xml:1.26 peardoc/en/chapters/standards.xml:1.27
--- peardoc/en/chapters/standards.xml:1.26 Sat Jun 12 11:50:06 2004
+++ peardoc/en/chapters/standards.xml Mon Dec 20 15:06:18 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.26 $ -->
+<!-- $Revision: 1.27 $ -->
<chapter id="standards">
<title>Coding Standards</title>
@@ -450,6 +450,13 @@
of the class/package they are used in. For example, the constants
used by the <literal>DB::</literal> package all begin with
<literal>DB_</literal>.
+ <note>
+ <simpara>
+ The <literal>true</literal>, <literal>false</literal> and
+ <literal>null</literal> constants are excepted from the all-uppercase
+ rule, and must always be lowercase.
+ </simpara>
+ </note>
</para>
</sect2>
<sect2>
@@ -560,7 +567,7 @@
// | Your Name <you@example.com> |
// +----------------------------------------------------------------------+
//
-// $Id: standards.xml,v 1.26 2004/06/12 15:50:06 danielc Exp $
+// $Id: standards.xml,v 1.27 2004/12/20 20:06:18 sean Exp $
require_once 'PEAR.php';
@@ -612,7 +619,7 @@
* @category categoryname
* @package packagename
* @author Original Author <author@example.com>
- * @version $Id: standards.xml,v 1.26 2004/06/12 15:50:06 danielc Exp $
+ * @version $Id: standards.xml,v 1.27 2004/12/20 20:06:18 sean Exp $
* @access public
* @see NetOther, Net_Sample::Net_Sample()
* @since Class available since Release 1.2.0