Re: Can a class instance a property of another class
| From: | Richard Lynch | Date: | Tue, 30 Jan 2007 00:54:53 +0000 |
| Subject: | Re: Can a class instance a property of another class | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247983@lists.php.net to get a copy of this message | ||
On Sat, January 27, 2007 7:00 pm, Jochem Maas wrote:
> objects are always by reference in php5 - in php4 you have to
> use the 'reference' operator (the @ symbol) to make object be passed
> by reference.
[pedantic for="archives"]
Not the @ symbol, which suppresses errors, but the & symbol which
forces a reference instead of a copy.
[/pedantic]
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?