Welcome Guest, Not a member yet? Register   Sign In
global $CI; vs $CI=&get;_instance();
#1

[eluser]sleddog[/eluser]
In reference to the following thread:

CI Memory Usage
http://ellislab.com/forums/viewthread/68826/

I have a general question:

When attempting to retrieve the super-global CI object... What is faster/better:

global $CI;

OR

$CI =& get_instance();


Messages In This Thread
global $CI; vs $CI=&get;_instance(); - by El Forum - 04-01-2008, 11:32 AM
global $CI; vs $CI=&get;_instance(); - by El Forum - 04-01-2008, 01:02 PM
global $CI; vs $CI=&get;_instance(); - by El Forum - 04-01-2008, 01:06 PM
global $CI; vs $CI=&get;_instance(); - by El Forum - 04-01-2008, 01:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB