nlopess Fri Dec 24 15:43:35 2004 EDT
Modified files: /phpdoc/en/reference/classobj/functions get-class-methods.xml get-class-vars.xml Log: some PHP 5 fixes # merry Xmas :) http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/get-class-methods.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/classobj/functions/get-class-methods.xml diff -u phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.8 phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.9 --- phpdoc/en/reference/classobj/functions/get-class-methods.xml:1.8 Mon Nov 1 08:25:30 2004 +++ phpdoc/en/reference/classobj/functions/get-class-methods.xml Fri Dec 24 15:43:35 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.2 --> <refentry id="function.get-class-methods"> <refnamediv> @@ -79,6 +79,12 @@ </screen> </example> </para> + <warning> + <para> + As of PHP 5, this function returns the name of the methods as they were + declared (case-sensitive). In PHP 4 they were lowercased. + </para> + </warning> <simpara> See also <function>get_class_vars</function> and <function>get_object_vars</function>. http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/get-class-vars.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/classobj/functions/get-class-vars.xml diff -u phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.8 phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.9 --- phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.8 Mon Nov 1 08:25:30 2004 +++ phpdoc/en/reference/classobj/functions/get-class-vars.xml Fri Dec 24 15:43:35 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 --> <refentry id="function.get-class-vars"> <refnamediv> @@ -15,7 +15,7 @@ <methodparam><type>string</type><parameter>class_name</parameter></methodparam> </methodsynopsis> <para> - This function will return an associative array of default + This function will return an associative array of default public properties of the class. The resulting array elements are in the form of <parameter>varname => value</parameter>. </para> @@ -37,6 +37,7 @@ var $var1; // this has no default value... var $var2 = "xyz"; var $var3 = 100; + private $var4; // PHP 5 // constructor function myclass() {