Really?
I have this in my loading class constructor...
if (defined('ERROR_LEVEL')) {
error_reporting(ERROR_LEVEL);
}
which is currently at E_ALL since I'm in development and I want things devoid of warnings and notices as well as errors.
And it never made a peep.
Just to make sure...
I tried echoing a non-existent array key,
warned just like it should.
But, it could be with how things are scoped.
$this->DBI() is in another object that extends the current objects parent object...
so that may be why you got an error and I didn't.
I thought it was strange that it didn't output anything for the reference to $this->DBI() though... since that always returns a hash table. But, like I said, could just be with the funky scoping... The object library actually goes into a wormhole and turns inside out when I run it.
Which is pretty damned handy actually.
Because everything takes place in a scope that doesn't truly exist... it's in a class that's a non-object because it's extended by it's children which kill it when they spawn.
Pretty tricky.
Made me sit and think for a bit when I first descovered that... still don't understand as to why, since it is there, but it isn't at the same time. But it's fun to play with and runs well.