RE: [PHP] A dumb question
| From: | Chris W. Parker | Date: | Wed, 11 Feb 2004 19:44:59 +0000 |
| Subject: | RE: [PHP] A dumb question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177450@lists.php.net to get a copy of this message | ||
Jeremy Schroeder <mailto:blake@lhwd.net>
on Wednesday, February 11, 2004 11:39 AM said:
> What does the ampersand do in the bottom example code, they both work.
>
> $n1 = $num1 -> function();
> $n1 = & $num1 -> function();
I think in this it's what's called a reference. Don't know much else. :)
Chris.