svn: /phpdoc/en/trunk/language/oop5/ overloading.xml
| From: | Kalle Sommer Nielsen | Date: | Tue, 16 Feb 2010 07:39:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/oop5/ overloading.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6072@lists.php.net to get a copy of this message | ||
kalle Tue, 16 Feb 2010 07:39:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295144
Log:
Fixed bug #50961 (Overloading: magic __get method can be created static in older PHP versions)
Bug: http://bugs.php.net/50961 (Open) Overloading: magic
__get method can be created static in older PHP versions
Changed paths:
U phpdoc/en/trunk/language/oop5/overloading.xml
Modified: phpdoc/en/trunk/language/oop5/overloading.xml
===================================================================
--- phpdoc/en/trunk/language/oop5/overloading.xml 2010-02-16 07:38:46 UTC (rev 295143)
+++ phpdoc/en/trunk/language/oop5/overloading.xml 2010-02-16 07:39:03 UTC (rev 295144)
@@ -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>