Re: Can a class instance a property of another class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux