|
Posted by Erwin Moller on 11/30/07 09:11
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
Navigation:
[Reply to this message]
|