Re: &$ in functions
- From: Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 10:11:56 +0100
Niels Lange wrote:
Hi guys,
at present I´m editing some old scripts from a colleague from mine. In
one function I fund something I didn´t understand. The function looks
like:
function foobar(&$val, $key = ' ')
{
...
}
Could anyone tell me what the &$ stands for? I tried to find some
informations in Google. But it is really difficult to find some
informations by using "php + &$" as a search string.
Thanks
Hi,
read more here:
http://nl3.php.net/manual/en/language.references.pass.php
It is passing by reference.
Regards,
Erwin Moller
.
- References:
- &$ in functions
- From: Niels Lange
- &$ in functions
- Prev by Date: Re: problem with fmod()
- Next by Date: &$ in functions
- Previous by thread: &$ in functions
- Next by thread: Re: &$ in functions
- Index(es):
Relevant Pages
|