[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] cvs: phpdoc /en/language/oop5 constants.xml paamayim-nekudotayim.xml static.xml
From:       "Daniel Convissor" <danielc () php ! net>
Date:       2008-02-28 13:26:54
Message-ID: cvsdanielc1204205214 () cvsserver
[Download RAW message or body]

danielc		Thu Feb 28 13:26:54 2008 UTC

  Modified files:              
    /phpdoc/en/language/oop5	constants.xml paamayim-nekudotayim.xml 
                            	static.xml 
  Log:
  Clarify wording re keywords in variable class names in static context.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/constants.xml?r1=1.13&r2=1.14&diff_format=u
                
Index: phpdoc/en/language/oop5/constants.xml
diff -u phpdoc/en/language/oop5/constants.xml:1.13 \
                phpdoc/en/language/oop5/constants.xml:1.14
--- phpdoc/en/language/oop5/constants.xml:1.13	Thu Jan 17 19:06:08 2008
+++ phpdoc/en/language/oop5/constants.xml	Thu Feb 28 13:26:54 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
  <sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook">
   <title>Class Constants</title>
   <para>
@@ -14,8 +14,8 @@
 
   <para>
    As of PHP 5.3.0, it's possible to reference the class using a variable.
-   Keywords like <literal>self</literal>, <literal>parent</literal> or 
-   <literal>static</literal> are not allowed in dynamic class references.
+   The variable's value can not be a keyword (e.g. <literal>self</literal>,
+   <literal>parent</literal> and <literal>static</literal>).
   </para>
 
   <example>
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/paamayim-nekudotayim.xml?r1=1.13&r2=1.14&diff_format=u
                
Index: phpdoc/en/language/oop5/paamayim-nekudotayim.xml
diff -u phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.13 \
                phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.14
--- phpdoc/en/language/oop5/paamayim-nekudotayim.xml:1.13	Thu Jan 17 19:06:08 2008
+++ phpdoc/en/language/oop5/paamayim-nekudotayim.xml	Thu Feb 28 13:26:54 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
  <sect1 xml:id="language.oop5.paamayim-nekudotayim" \
xmlns="http://docbook.org/ns/docbook">  <title>Scope Resolution Operator (::)</title>
 
@@ -18,8 +18,8 @@
 
   <para>
    As of PHP 5.3.0, it's possible to reference the class using a variable.
-   Keywords like <literal>self</literal>, <literal>parent</literal> or 
-   <literal>static</literal> are not allowed in dynamic class references.
+   The variable's value can not be a keyword (e.g. <literal>self</literal>,
+   <literal>parent</literal> and <literal>static</literal>).
   </para>
 
   <para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/static.xml?r1=1.16&r2=1.17&diff_format=u
                
Index: phpdoc/en/language/oop5/static.xml
diff -u phpdoc/en/language/oop5/static.xml:1.16 \
                phpdoc/en/language/oop5/static.xml:1.17
--- phpdoc/en/language/oop5/static.xml:1.16	Thu Jan 17 19:06:08 2008
+++ phpdoc/en/language/oop5/static.xml	Thu Feb 28 13:26:54 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
  <sect1 xml:id="language.oop5.static" xmlns="http://docbook.org/ns/docbook">
   <title>Static Keyword</title>
 
@@ -34,8 +34,8 @@
 
   <para>
    As of PHP 5.3.0, it's possible to reference the class using a variable.
-   Keywords like <literal>self</literal>, <literal>parent</literal> or 
-   <literal>static</literal> are not allowed in dynamic class references.
+   The variable's value can not be a keyword (e.g. <literal>self</literal>,
+   <literal>parent</literal> and <literal>static</literal>).
   </para>
 
   <example>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic