It indicates that the variable was passed by reference rather than by value.

Fred

Girish Nath <[EMAIL PROTECTED]> wrote in message
000f01c1736c$714abc30$015b10ac@AERIS">news:000f01c1736c$714abc30$015b10ac@AERIS...
> Hi
>
> I've been looking at some classes an have come across this notation for
> example :
>
> function remove(&$productid) {
> /* this function will remove a given product from the cart */
>     if (isset($productid)) {
>     unset($this->items[$productid]);
>     }
> }
>
>
> What does the "&" (ampersand) before the variable name mean ?
>
> Thanks
>
>
> Girish
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to