note 16129 rejected from language.oop.constructor by zak
| From: | zak@php.net | Date: | Wed, 17 Oct 2001 16:56:26 +0000 |
| Subject: | note 16129 rejected from language.oop.constructor by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19057@lists.php.net to get a copy of this message | ||
Seems like not to be able make a return() from constructors.
Any my tries to make return() from it, and make
echo($a = new MyClass);
returns an 'object', not value, which i want to return from MyClass constructor.
wbr.,
Scarab.