note 82431 deleted from language.types.object by cmb
| From: | cmb@php.net | Date: | Fri, 15 May 2015 19:12:36 +0000 |
| Subject: | note 82431 deleted from language.types.object by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202545@lists.php.net to get a copy of this message | ||
Note Submitter: bob
----
Why is there nothing in the docs about instantiating a generic object? ie new object() - it does
not work.
If one wants to create a dynamic object on the fly, the only option I see is to create it
implicitly, by creating a child of it - ghetto:
unset($obj);
$obj->blah = 3;