Welcome Guest, Not a member yet? Register   Sign In
Class referencing appears a memory leak
#3

[eluser]dyron[/eluser]
Hmm, I might been not correctly enough.

E_STRICT throws
Quote:Strict Standards: Assigning the return value of new by reference is deprecated in ..\system\codeigniter\Common.php on line 85

Strict Standards: Assigning the return value of new by reference is deprecated in ..\system\codeigniter\Common.php on line 91

Code:
...
85: $objects[$class] =& new $name();
...
91: $objects[$class] =& new $name();
...

So, the =& referencing is deprecated.

Am I right?


Messages In This Thread
Class referencing appears a memory leak - by El Forum - 10-31-2007, 10:53 AM
Class referencing appears a memory leak - by El Forum - 10-31-2007, 11:23 AM
Class referencing appears a memory leak - by El Forum - 10-31-2007, 11:37 AM
Class referencing appears a memory leak - by El Forum - 10-31-2007, 11:53 AM
Class referencing appears a memory leak - by El Forum - 10-31-2007, 12:15 PM
Class referencing appears a memory leak - by El Forum - 10-31-2007, 12:34 PM
Class referencing appears a memory leak - by El Forum - 11-01-2007, 01:20 AM
Class referencing appears a memory leak - by El Forum - 11-01-2007, 02:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB