note 16524 rejected from language.oop by sander
| From: | sander@php.net | Date: | Sat, 06 Apr 2002 19:06:06 +0000 |
| Subject: | note 16524 rejected from language.oop by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28740@lists.php.net to get a copy of this message | ||
It appears as though php3 will not accept the object pointer of an object that doesn't exist.
eg. say i go $a->bla; where $a is an unassigned variable, php3 will say, $a isn't a valid
object.
My quick'n'dirty solution was to declare $a = new object; after creating "class
object { }"
(In php4 of course, there is no such problem).