Re: Ampersand before function name
| From: | Jeroen Serpieters | Date: | Tue, 25 May 2004 08:22:39 +0000 |
| Subject: | Re: Ampersand before function name | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23827@lists.php.net to get a copy of this message | ||
On Tue, 25 May 2004, Ross Honniball wrote:
>
> function & funcname ($parm) {}
>
With the ampersand you return a reference to a variable instead of the
value.
--
Jeroen
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows
where you live.
-- Martin Golding