I've noticed in the Joomla documentation, such as for JFactory/getSession, that the examples use assign-by-reference (
=&), rather than a simple assignment (
$session =& JFactory::getSession();
Is this just out-of-date, or purposefully covering users of PHP 4?
Is this necessary under PHP 5? Or is there something Joomla related that I've overlooked?