CI instance as a static variable or property of an object - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI instance as a static variable or property of an object (/showthread.php?tid=7275) |
CI instance as a static variable or property of an object - El Forum - 04-01-2008 [eluser]sleddog[/eluser] Started from thread: http://ellislab.com/forums/viewthread/68826/ I figured I'd open this thread within the Code and Application Development forum... The question is, are the 2 points tonanbarbarian made correct: 1. Do not put the CI instance into a static variable as it will use extra memory 2. Do not add the CI instance as a property of an object as it will use extra memory |