note 94077 added to language.oop5.magic
| From: | vad dot viktor at gmail dot com | Date: | Thu, 15 Oct 2009 10:06:04 +0000 |
| Subject: | note 94077 added to language.oop5.magic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161755@lists.php.net to get a copy of this message | ||
If you are using __autoload to dynamically load your classes, then __invoke won't work. Calling
a class like SomeClass() will give and error in this case as it is evaluated first as a function,
not as a class and so __autoload won't be triggered.
----
Server IP: 69.147.83.197
Probable Submitter: 88.151.101.20
----
Manual Page -- http://www.php.net/manual/en/language.oop5.magic.php
Edit -- https://master.php.net/note/edit/94077
Del: integrated -- https://master.php.net/note/delete/94077/integrated
Del: useless -- https://master.php.net/note/delete/94077/useless
Del: bad code -- https://master.php.net/note/delete/94077/bad+code
Del: spam -- https://master.php.net/note/delete/94077/spam
Del: non-english -- https://master.php.net/note/delete/94077/non-english
Del: in docs -- https://master.php.net/note/delete/94077/in+docs
Del: other reasons-- https://master.php.net/note/delete/94077
Reject -- https://master.php.net/note/reject/94077
Search -- https://master.php.net/manage/user-notes.php