goba            Sun Nov 11 05:16:38 2001 EDT

  Modified files:              
    /phpdoc/en/chapters install.xml 
    /phpdoc/en/functions        overload.xml 
  Log:
  Some more overload work, adding configure option
  
  
Index: phpdoc/en/chapters/install.xml
diff -u phpdoc/en/chapters/install.xml:1.90 phpdoc/en/chapters/install.xml:1.91
--- phpdoc/en/chapters/install.xml:1.90 Sat Nov 10 16:49:28 2001
+++ phpdoc/en/chapters/install.xml      Sun Nov 11 05:16:38 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.90 $ -->
+<!-- $Revision: 1.91 $ -->
  <chapter id="installation">
   <title>Installation</title>
 
@@ -2458,6 +2458,20 @@
         PHP 4: Option not available in PHP 4; use <link
          linkend="install.configure.disable-posix">--disable-posix</link>
         instead.
+       </para>
+      </listitem>
+     </varlistentry>
+
+     <varlistentry id="install.configure.without-posix">
+      <term>
+       <parameter>--enable-overload</parameter>
+      </term>
+      <listitem>
+       <para>
+        PHP 3: Option not available in PHP 3
+       </para>
+       <para>
+        PHP 4: Enable object property and method call overloading support.
        </para>
       </listitem>
      </varlistentry>
Index: phpdoc/en/functions/overload.xml
diff -u phpdoc/en/functions/overload.xml:1.1 phpdoc/en/functions/overload.xml:1.2
--- phpdoc/en/functions/overload.xml:1.1        Sat Nov 10 12:43:04 2001
+++ phpdoc/en/functions/overload.xml    Sun Nov 11 05:16:38 2001
@@ -1,5 +1,5 @@
 <?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
  <reference id="ref.overload">
   <title>Object property and method call overloading</title>
   <titleabbrev>Object overloading</titleabbrev>
@@ -65,6 +65,7 @@
 $o->x = 56; 
 
 // instantiate stdclass (it is built-in in PHP 4)
+// $val is not overloaded!
 $val = new stdclass;
 $val->prop = 555;
 
@@ -78,15 +79,17 @@
      </programlisting>
     </example>
    </para>
-   <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>
+    <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>
   </partintro>
 
   <refentry id="function.overload">


Reply via email to