note 82431 added to language.types.object
| From: | bob at osu1 dot php dot net | Date: | Thu, 10 Apr 2008 15:03:04 +0000 |
| Subject: | note 82431 added to language.types.object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138103@lists.php.net to get a copy of this message | ||
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;
----
Server IP: 216.92.131.65
Probable Submitter: 72.15.101.70
----
Manual Page -- http://www.php.net/manual/en/language.types.object.php
Edit -- https://master.php.net/note/edit/82431
Del: integrated -- https://master.php.net/note/delete/82431/integrated
Del: useless -- https://master.php.net/note/delete/82431/useless
Del: bad code -- https://master.php.net/note/delete/82431/bad+code
Del: spam -- https://master.php.net/note/delete/82431/spam
Del: non-english -- https://master.php.net/note/delete/82431/non-english
Del: in docs -- https://master.php.net/note/delete/82431/in+docs
Del: other reasons-- https://master.php.net/note/delete/82431
Reject -- https://master.php.net/note/reject/82431
Search -- https://master.php.net/manage/user-notes.php