Returnng Object
| From: | Chris Cranford | Date: | Mon, 14 Feb 2005 11:20:27 +0000 |
| Subject: | Returnng Object | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14918@lists.php.net to get a copy of this message | ||
I have been able to create objects in a function call in my extension and
use them in my php page; however I would rather do something like:
$myobj = myfunc();
echo $myobj->property;
How am I suppose to return an object from a function?