http://php.us.themoes.org/manual/en/language.references.pass.php

Passing by reference instead of value.

HTH
Craig

"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have noticed that some of the functions in a tutorial I am studying have
> an & in the variable parameters i.e.
>
> function add(&$id) {
>  /* function body */
> }
>
> I would be most grateful if some can shed some light on this as i cant fnd
> any reference to this in the PHP manual...
>
> Thanks

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

Reply via email to