note 78249 rejected from language.references.return by ezyang

From: Date: Thu, 04 Oct 2007 22:42:50 +0000
Subject: note 78249 rejected from language.references.return by ezyang
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-131095@lists.php.net to get a copy of this message
Note Submitter: David ---- i didn't understand nothing at all. function &find_var($param) { /* ...code... */ return $found_var; } $foo =& find_var($bar); $foo->x = 2; echo $foo->x; is getting the same result without the sign & function find_var($param) { /* ...code... */ return $found_var; } $foo = find_var($bar); $foo->x = 2; echo $foo->x; can someone give me some practical use of this, with the affects of this thing? because my understanding is limited i guess :\

« previous php.notes (#131095) next »