Doc #53349 [Opn->Csd]: Break out the two pages on magic methods/overloading

From: Date: Sat, 05 Oct 2013 07:54:04 +0000
Subject: Doc #53349 [Opn->Csd]: Break out the two pages on magic methods/overloading
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10421@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53349&edit=1 ID: 53349 Updated by: krakjoe@php.net Reported by: bastard dot internets at gmail dot com Summary: Break out the two pages on magic methods/overloading -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: The documentation for magic methods etc is now extensive. Previous Comments: ------------------------------------------------------------------------ [2010-11-19 02:27:27] bastard dot internets at gmail dot com Description: ------------ Suggest breaking /language.oop5.overloading.php and /language.oop5.magic.php manual pages into a group of sub pages, dedicating one page per magic method. There is quite a lot of information missing in the docs on the behavior of magic methods, such as __get()'s special involvement with objects and arrays that are locked properties, __set()'s lack of involvement with objects and arrays that are locked properties, being able to define magic method function signatures in interfaces, being able to use __toString() to do something like 'echo new Test;', being able to define '&__get()' to return a locked property by reference, etc. It would help to expand on the special behavior of each magic method, but the current pair of pages are getting too long and duplicating information, especially with all the user comments. Test script: --------------- n/a - involves manual pages ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=53349&edit=1

« previous php.doc.bugs (#10421) next »