note 83129 added to language.oop5.autoload
| From: | krpalospo at gmail dot com | Date: | Mon, 12 May 2008 04:59:48 +0000 |
| Subject: | note 83129 added to language.oop5.autoload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139291@lists.php.net to get a copy of this message | ||
I have a static attribute and I use __autoload , why the script give me a error when I use autoload
??? , otherwise not ....
the error is:
Fatal error: Access to undeclared static property: Person::$estatico in /var/www/oophp/person.php on
line 29
if I put my class manually it works normally ....
----
Server IP: 69.147.83.197
Probable Submitter: 190.26.43.18
----
Manual Page -- http://www.php.net/manual/en/language.oop5.autoload.php
Edit -- https://master.php.net/note/edit/83129
Del: integrated -- https://master.php.net/note/delete/83129/integrated
Del: useless -- https://master.php.net/note/delete/83129/useless
Del: bad code -- https://master.php.net/note/delete/83129/bad+code
Del: spam -- https://master.php.net/note/delete/83129/spam
Del: non-english -- https://master.php.net/note/delete/83129/non-english
Del: in docs -- https://master.php.net/note/delete/83129/in+docs
Del: other reasons-- https://master.php.net/note/delete/83129
Reject -- https://master.php.net/note/reject/83129
Search -- https://master.php.net/manage/user-notes.php