No answers found - Why var and why & ?

From: Date: Tue, 09 Sep 2003 15:21:28 +0000
Subject: No answers found - Why var and why & ?
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-162075@lists.php.net to get a copy of this message
Save all programers! (sorry my "brazilian english") I have a simple doubt, but i´m tired because i not found answers... Why, inside a class, declarare $this variables in a format "var $varname;" before of a constructor? And, please, what intend the "&" signal before functions name? I know the arguments reference methods like this: function bla(&$reference_arg) But what's the diference of the sintax: function &bla(&$var) Thanks for attention -- André Cupini Programador - NeoBiz andre@neobiz.com.br http://www.neobiz.com.br

« previous php.general (#162075) next »