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