A dumb question
| From: | Jeremy Schroeder | Date: | Wed, 11 Feb 2004 19:38:48 +0000 |
| Subject: | A dumb question | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177449@lists.php.net to get a copy of this message | ||
Hey Group
I am starting to write class and objects and came across some syntax that I dont understand.
What does the ampersand do in the bottom example code, they both work.
$n1 = $num1 -> function();
$n1 = & $num1 -> function();
-Blake