Moron question: What is the & in a class meant to do?
| From: | Asendorf, John | Date: | Mon, 24 Jun 2002 13:06:12 +0000 |
| Subject: | Moron question: What is the & in a class meant to do? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14371@lists.php.net to get a copy of this message | ||
I'm a bit confused. I keep stealing code and using it for my own devious
purposes and parts of it I don't understand. What is the "&" in a piece of
code that looks like this meant to do? I looked all through the Class stuff
in the docs but can't seem to find the reason for it.
$foo = &$bar->some_function();
Thanks in advance, John
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit