diff --git a/language/oop5/overloading.xml b/language/oop5/overloading.xml index 68b4fb5203..93dbc2b2b1 100644 --- a/language/oop5/overloading.xml +++ b/language/oop5/overloading.xml @@ -1,5 +1,5 @@ - + Overloading @@ -49,6 +49,12 @@ value that the object should set the $name. + + + The __set() method cannot take arguments by reference. + + + overloading with __get, __set, __isset and __unset example