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

From: Date: Sat, 17 Nov 2007 21:14:07 +0000
Subject: #43320 [Opn]: __autoload function is pointed as method
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-213@lists.php.net to get a copy of this message
ID: 43320 User updated by: andrey at niakhaichyk dot org Reported By: andrey at niakhaichyk dot org Status: Open Bug Type: Documentation problem Operating System: any PHP Version: Irrelevant New Comment: I think should remove __autoload from Magic Methods section Previous Comments: ------------------------------------------------------------------------ [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 (#213) next »