Welcome Guest, Not a member yet? Register   Sign In
PHP5 get_instance()
#1

[eluser]Richard Testani[/eluser]
Would I be right in saying, you don't need to call the ci instance like =&
because PHP automatically passes by reference? Only in PHP4 should you do like this?

Thanks
Rich
#2

[eluser]n0xie[/eluser]
Yes, but since CI supports php4 it is common to add the =& .
Mind you this is depreciated in php5.3




Theme © iAndrew 2016 - Forum software by © MyBB