Re: Ampersand before function name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ross Honniball wrote:
Just curious about what the apmersand does in this context:

function & funcname ($parm) {}

This means the function is supposed to return a reference by default instead of a value.


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux