RE: [PHP-WIN] Moron question: What is the & in a class meant to do?

From: Date: Mon, 24 Jun 2002 13:13:14 +0000
Subject: RE: [PHP-WIN] Moron question: What is the & in a class meant to do?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-14372@lists.php.net to get a copy of this message
Looks like "stolen" syntax from C/C++: E.g. it is a reference to the variable, a.k.a. as pointer. > -----Original Message----- > From: Asendorf, John [mailto:JAsendorf@lcounty.com] > Sent: Monday, June 24, 2002 3:06 PM > To: Php-Windows (E-mail) > Subject: [PHP-WIN] Moron question: What is the & in a class meant to do? > > > 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 > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#14372) next »