cvs: phpdoc /en/appendices reserved.xml
| From: | Jakub Vrana | Date: | Wed, 05 Nov 2008 16:53:05 +0000 |
| Subject: | cvs: phpdoc /en/appendices reserved.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2412@lists.php.net to get a copy of this message | ||
vrana Wed Nov 5 16:53:05 2008 UTC
Modified files:
/phpdoc/en/appendices reserved.xml
Log:
self and parent forbidden (bug #45070)
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/reserved.xml?r1=1.78&r2=1.79&diff_format=u
Index: phpdoc/en/appendices/reserved.xml
diff -u phpdoc/en/appendices/reserved.xml:1.78 phpdoc/en/appendices/reserved.xml:1.79
--- phpdoc/en/appendices/reserved.xml:1.78 Fri Oct 31 15:45:05 2008
+++ phpdoc/en/appendices/reserved.xml Wed Nov 5 16:53:05 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.78 $ -->
+<!-- $Revision: 1.79 $ -->
<appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>List of Reserved Words</title>
@@ -358,6 +358,32 @@
</variablelist>
</sect2>
+ <sect2 xml:id="reserved.classes.special">
+ <title>Special classes</title>
+
+ <simpara>
+ Following identifiers may not be used as a class name as they have
+ special purpose.
+ </simpara>
+
+ <variablelist>
+ <varlistentry>
+ <term><classname>self</classname></term>
+ <listitem>
+ <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><classname>parent</classname></term>
+ <listitem>
+ <simpara>
+ </simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </sect2>
+
</sect1>
&appendices.reserved.constants;