Re: call by reference
| From: | Curt Zirzow | Date: | Wed, 26 Nov 2003 06:03:20 +0000 |
| Subject: | Re: call by reference | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357077@lists.php.net to get a copy of this message | ||
* Thus wrote Curt Zirzow (php-docs@zirzow.dyndns.org):
> array getimagesize ( string filename [, array &imageinfo])
>
> I can think of two solutions that could work:
>
> Adding an attribute to the <parameter>:
> <parameter option="ref">imaginfo</parameter>
>
...
>
> Or simply adding & the the paramater value.
After looking through some of the function prototypes I see that
some have & directly in the prototype definition. So I assume
this is the current method, correct?
Curt
--
"I used to think I was indecisive, but now I'm not so sure."