passing by reference

From: Date: Thu, 27 Dec 2001 11:04:11 +0000
Subject: passing by reference
Groups: php.general 
Request: Send a blank email to php-general+get-78830@lists.php.net to get a copy of this message
I coulnd't figure out the difference between the two: function &foo(){ $x = "hello"; return $x; } and function foo(){ $x = "hello"; return &$x; } __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com

« previous php.general (#78830) next »