vrana Tue Aug 30 11:08:38 2005 EDT
Modified files: /phpdoc/en/language/oop5 static.xml Log: Calling non-static methods statically (bug #34095) http://cvs.php.net/diff.php/phpdoc/en/language/oop5/static.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/language/oop5/static.xml diff -u phpdoc/en/language/oop5/static.xml:1.7 phpdoc/en/language/oop5/static.xml:1.8 --- phpdoc/en/language/oop5/static.xml:1.7 Tue Jul 19 14:50:58 2005 +++ phpdoc/en/language/oop5/static.xml Tue Aug 30 11:08:38 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <sect1 id="language.oop5.static"> <title>Static Keyword</title> @@ -16,7 +16,7 @@ compatibility with PHP 4, if no <link linkend="language.oop5.visibility">visibility</link> declaration is used, then the member or method will be treated - as if it was declared as <literal>public static</literal>. + as if it was declared as <literal>public</literal>. </para> <para> @@ -39,6 +39,10 @@ operator ->. </para> + <para> + Calling non-static methods statically generates an E_STRICT level warning. + </para> + <example> <title>Static member example</title> <programlisting role="php">