vrana Wed Feb 22 13:26:05 2006 UTC
Modified files: /phpdoc/en/language/oop5 overloading.xml Log: Public in PHP 5.0 (spotted by David Grundl) http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/oop5/overloading.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/language/oop5/overloading.xml diff -u phpdoc/en/language/oop5/overloading.xml:1.12 phpdoc/en/language/oop5/overloading.xml:1.13 --- phpdoc/en/language/oop5/overloading.xml:1.12 Mon Feb 13 11:22:15 2006 +++ phpdoc/en/language/oop5/overloading.xml Wed Feb 22 13:26:05 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <sect1 id="language.oop5.overloading"> <title>Overloading</title> @@ -9,7 +9,9 @@ triggered when your object or inherited object doesn't contain the member or method you're trying to access. All overloading methods must not be defined as - <link linkend="language.oop5.visibility">static</link>. + <link linkend="language.oop5.static">static</link>. + In PHP 5.0.x, all overloading methods must be defined as + <link linkend="language.oop5.visibility">public</link>. </para> <para> Since PHP 5.1.0 it is also possible to overload the