public function tearDown() { $old = error_reporting(E_ALL | E_STRICT); $this->assertTrue($old === error_reporting(E_ALL | E_STRICT), 'something associated with a particular test altered error_reporting to something other than E_STRICT'); restore_error_handler(); Zend_Session::unLockAll(); // @todo: cleanup if (count($this->error_list)) { echo "**** Errors: "; print_r($this->error_list); } // unset all namespaces $core = Zend_Session_Core::getInstance(); foreach (Zend_Session_Core::getIterator() as $space) { $core->namespaceUnset($space); } }