This is interesting, I never used it like that, but you're right, it should not do this, maybe this is a caching option. In the worst case, you should call it like this:
$this->load->view('test_view', '');
Edit:
I just checked the Ignit Code from my repository. The reason for this is that they really cache variables:
if (is_array($_ci_vars)) { $this->_ci_cached_vars = array_merge($this->_ci_cached_vars, $_ci_vars); } extract($this->_ci_cached_vars)
If I understood correctly, you should unfortunately do this as follows:
$this->load->view('test_view', array('what' => ''));
source share