[eluser]bcdennis[/eluser]
I noticed in 1.6.1 on a fresh install with only the default session library (auto) loaded that they are recursively referencing CI base.
Code:
<?php
class Home extends Controller {
function __construct()
{
parent::__construct();
}
function index()
{
echo "<pre>";
print_r($this);
echo "</pre>";
}
}
?>
Gives
Code:
**snip**
[encrypt] => CI_Encrypt Object
(
[CI] => Home Object
*RECURSION*
[encryption_key] =>
[_hash_type] => sha1
[_mcrypt_exists] =>
[_mcrypt_cipher] =>
[_mcrypt_mode] =>
)
[session] => CI_Session Object
(
[CI] => Home Object
*RECURSION*
[now] => 1205449041
**snip**
I haven't check old versions, but I don't recall this being an issue. This is causing performance problems as my application grows from simple to complex.