Page 1 of 1

What is =&?

Posted: Fri Mar 16, 2007 11:47 am
by Kadanis
Sorry for the really basic post, but I haven't been able to find this in google etc.

I've noticed the =& in a lot of OOP PHP especially during initialisation

i.e.

Code: Select all

$foo =& new Bar();

$thing =& $foo->get_bar();
What is the =& for? and how does it differ from just =

Thanks

Posted: Fri Mar 16, 2007 11:57 am
by volka

Posted: Fri Mar 16, 2007 12:19 pm
by Kadanis
thanks