philip          Fri Nov 15 05:35:59 2002 EDT

  Modified files:              
    /phpdoc/en/reference/classobj/functions     get-class-vars.xml 
  Log:
  As of PHP 4.2.0 unitialized values are returned too.  Closes bug #17537
  
  
Index: phpdoc/en/reference/classobj/functions/get-class-vars.xml
diff -u phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.3 
phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.4
--- phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.3       Thu May 30 
10:02:40 2002
+++ phpdoc/en/reference/classobj/functions/get-class-vars.xml   Fri Nov 15 05:35:58 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
   <refentry id="function.get-class-vars">
    <refnamediv>
@@ -21,8 +21,8 @@
     </para>
     <note>
      <para>
-      Uninitialized class variables will not be reported by
-      <function>get_class_vars</function>. 
+      Prior to PHP 4.2.0, Uninitialized class variables will not be reported
+      by <function>get_class_vars</function>. 
      </para>
     </note>
     <para>
@@ -63,6 +63,12 @@
      <informalexample>
       <programlisting>
 <![CDATA[
+// Before PHP 4.2.0
+var2 : xyz
+var3 : 100
+
+// As of PHP 4.2.0
+var1 :
 var2 : xyz
 var3 : 100
 ]]>



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

Reply via email to