From 2c2e8773722b97b3936d9a5ad6692ae56841bb50 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Tue, 16 Feb 2010 07:39:03 +0000 Subject: [PATCH] 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 --- language/oop5/overloading.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/language/oop5/overloading.xml b/language/oop5/overloading.xml index cf9175d97b..611160c837 100644 --- a/language/oop5/overloading.xml +++ b/language/oop5/overloading.xml @@ -128,8 +128,10 @@ Property overloading only works in object context. These magic methods will not be triggered in static context. Therefore - these methods can not be declared - static. + these methods should not be declared + static. As of PHP + 5.3.0, a warning is issued if one of the magic overloading + methods is declared static.