Fixed bug #50961 (Overloading: magic __get method can be created static in older PHP versions)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295144 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2010-02-16 07:39:03 +00:00
parent 69bb408665
commit 2c2e877372

View file

@ -128,8 +128,10 @@
<para>
Property overloading only works in object context. These magic
methods will not be triggered in static context. Therefore
these methods can not be declared
<link linkend="language.oop5.static">static</link>.
these methods should not be declared
<link linkend="language.oop5.static">static</link>. As of PHP
5.3.0, a warning is issued if one of the magic overloading
methods is declared <literal>static</literal>.
</para>
<note>