Re: Problem with references
| From: | David Otton | Date: | Thu, 04 Dec 2003 19:12:47 +0000 |
| Subject: | Re: Problem with references | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171879@lists.php.net to get a copy of this message | ||
On Thu, 4 Dec 2003 09:58:09 -0800, you wrote:
>David Otton <phpmail@jawbone.freeserve.co.uk>
> on Thursday, December 04, 2003 3:43 AM said:
>
>> function f()
>> {
>> return (array (7, 5));
>> }
>>
>> list ($a, $b) = f();
>
>Hey cool! I never knew about that.
Yeah, compared with returning a pointer to an array of pointers to
structs... well, scripting languages make you lazy :)
But without some feedback, I have no idea whether it solved his problem or
not :(