vrana           Fri Aug 17 06:17:58 2007 UTC

  Modified files:              
    /phpdoc/en/language/oop5    basic.xml 
  Log:
  new self (bug #37105)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/basic.xml?r1=1.23&r2=1.24&diff_format=u
Index: phpdoc/en/language/oop5/basic.xml
diff -u phpdoc/en/language/oop5/basic.xml:1.23 
phpdoc/en/language/oop5/basic.xml:1.24
--- phpdoc/en/language/oop5/basic.xml:1.23      Mon Aug  6 08:41:56 2007
+++ phpdoc/en/language/oop5/basic.xml   Fri Aug 17 06:17:58 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.23 $ -->
+<!-- $Revision: 1.24 $ -->
 
  <sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook";>
   <title>The Basics</title>
@@ -146,6 +146,10 @@
     </programlisting>
    </example>
    <para>
+    In the class context, it is possible to create a new object by
+    <literal>new self</literal> and <literal>new parent</literal>.
+   </para>
+   <para>
     When assigning an already created instance of a class to a new variable, 
the new variable
     will access the same instance as the object that was assigned. This
     behaviour is the same when passing instances to a function. A copy

Reply via email to