• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is the use of the ampersand added to the front of the function call

#1
[eluser]Unknown[/eluser]
Hi,
I read the CodeIgniter source code,found the is_loaded function defined in the Common.php file,as follow
function is_loaded($class = '')

And that function is called in Controller.php file:
$this->load->_base_classes =& is_loaded();
my question is why add the ampersand to is_loaded(),i think it is useless


Messages In This Thread
what is the use of the ampersand added to the front of the function call - by El Forum - 04-05-2011, 09:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.