What does this OOP operator mean?

Excuse the dumb question, but I can’t find a straight answer for this:

What does “=&” refer to ?

See this example:
$db =& JFactory::getDB0();

I’m trying to write a Joomla component, and noticed this is a common notation…

That is a “reference” in PHP. You can learn more about what they are and how they work on php.net:



Thanks, rl. That makes sense.

Your welcome, though I’m not sure how much “sense” it makes (being an “old guy”, it takes me a while to grasp some of these concepts!) :wink: