nlopess         Thu Jun 10 11:38:09 2004 EDT

  Modified files:              
    /phpdoc/en/reference/overload       reference.xml 
  Log:
  fix #28693: remove bogus note and fix example output
  
http://cvs.php.net/diff.php/phpdoc/en/reference/overload/reference.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/overload/reference.xml
diff -u phpdoc/en/reference/overload/reference.xml:1.9 
phpdoc/en/reference/overload/reference.xml:1.10
--- phpdoc/en/reference/overload/reference.xml:1.9      Mon May 31 06:28:19 2004
+++ phpdoc/en/reference/overload/reference.xml  Thu Jun 10 11:38:09 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
  <reference id="ref.overload">
   <title>Object property and method call overloading</title>
   <titleabbrev>Object overloading</titleabbrev>
@@ -93,7 +93,7 @@
 overload('OO');
 
 $o = new OO;
-echo "\$o->a: $o->a\n"; // print: $o->a:
+echo "\$o->a: $o->a\n"; // print: $o->a: 111
 echo "\$o->b: $o->b\n"; // print: $o->b: 9
 echo "\$o->c: $o->c\n"; // print: $o->c: 42
 echo "\$o->d: $o->d\n"; // print: $o->d:
@@ -116,17 +116,6 @@
       </programlisting>
      </example>
     </para>
-    <warning>
-     <para>
-      As this is an experimental extension, not all things
-      work. There is no <literal>__call()</literal> support
-      currently, you can only overload the get and set
-      operations for properties. You cannot invoke the
-      original overloading handlers of the class, and
-      <literal>__set()</literal> only works to one level
-      of property access.
-     </para>
-    </warning>
    </section>
   </partintro>
 

Reply via email to