#43320 [Opn->Csd]: __autoload function is pointed as method

From: Date: Tue, 20 Nov 2007 02:06:48 +0000
Subject: #43320 [Opn->Csd]: __autoload function is pointed as method
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-216@lists.php.net to get a copy of this message
ID: 43320 Updated by: felipe@php.net Reported By: andrey at niakhaichyk dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: any PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2007-11-17 21:14:06] andrey at niakhaichyk dot org I think should remove __autoload from Magic Methods section ------------------------------------------------------------------------ [2007-11-17 21:13:12] andrey at niakhaichyk dot org Description: ------------ The Magic Methods section has following string: --- The function names __construct, __destruct (see Constructors and Destructors), __call, __get, __set, __isset, __unset (see Overloading), __sleep, __wakeup, __toString, __set_state, __clone and __autoload are magical in PHP classes. You cannot have functions with these names in any of your classes unless you want the magic functionality associated with them. --- It's incorrect to place __autoload function near by magic class methods, because it won't work inside a class. Expected result: ---------------- __autoload function has already described in the Autoloading Objects section. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43320&edit=1

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