mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
69bb408665
commit
2c2e877372
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue