diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index a5a7aaa4c0..653002c339 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -25,6 +25,12 @@ with them. + + + All magic methods MUST be declared as public + + + PHP reserves all function names starting with __ as magical.