public function handleError($errno, $errstr, $errfile, $errline) { // check if Error Control Operator (@) was used. if (error_reporting() == 0) { return; } $this->addError($errstr, $errno, $errfile, $errline, true); }