note 41745 added to language.oop
| From: | php-general at lists dot php dot net | Date: | Wed, 21 Apr 2004 13:42:01 +0000 |
| Subject: | note 41745 added to language.oop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68439@lists.php.net to get a copy of this message | ||
As stated above by sleblanc at radicalhorizon dot com.
He uses:
$obj=&new Object();
which is the same later on:
a1 = &new a(1);
All you need as stated by the tutorials is:
$obj = new Object();
Its new not &new! :)
----
Manual Page -- http://www.php.net/manual/en/language.oop.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41745
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41745&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41745&report=yes
Search -- http://master.php.net/manage/user-notes.php