On Thu, 27 Dec 2001, Kancha . wrote: > I coulnd't figure out the difference between the two: > > function &foo(){ > $x = "hello"; > return $x; > } > > and > > function foo(){ > $x = "hello"; > return &$x; > }
return &$x will give you a parser error. Andi -- 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]