Re: Returning Classes from a function
| From: | Michael Dearman | Date: | Wed, 13 Dec 2000 19:58:31 +0000 |
| Subject: | Re: Returning Classes from a function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30130@lists.php.net to get a copy of this message | ||
Joe Stump wrote:
>
~~~~~~~
>
> Lets say $class->is_true() happened and it returned class - would it be returned
> with all of it's data intact?
Joe, I don't use OO, but thought I'd read something about that.
From the manual:
"Values are returned by using the optional return statement. Any type may be returned,
including lists and objects."
Mike D.