Re: call by reference

From: Date: Wed, 26 Nov 2003 08:43:30 +0000
Subject: Re: call by reference
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357078@lists.php.net to get a copy of this message
Hi Curt,
* 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 &amp; directly in the prototype definition. So I assume this is the current method, correct?
You are right, this is the way used right now for the documentation, but I would be +1 to use an attribute for the parameter. Mehdi

« previous php.doc (#969357078) next »