public function phpErrorHandler($errno, $errstr, $errfile, $errline) {
		foreach($this->ignoreDirs as $dir) {
			if(strpos($errfile, $dir) === 0)
				return;
		}

		if($this->isLogging() && $this->logPHPErrors)
			$this->log(\Psr\Log\LogLevel::NOTICE, 'PHP ('.static::getPHPError($errno).'): '.$errstr, $errfile, $errline);
		throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
	}
public function phpErrorHandler($errno, $errstr, $errfile, $errline) {
		foreach($this->ignoreDirs as $dir) {
			if(strpos($errfile, $dir) === 0)
				return;
		}

		if($this->isLogging() && $this->logPHPErrors)
			$this->log(\Psr\Log\LogLevel::NOTICE, 'PHP ('.static::getPHPError($errno).'): '.$errstr, $errfile, $errline);
		throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
	}
public function phpErrorHandler ( $ errno , $ errstr , $ errfile , $ errline ) { foreach ( $ this -> ignoreDirs as $ dir ) { if ( strpos ( $ errfile , $ dir ) === 0 ) return ; } if ( $ this -> isLogging ( ) && $ this -> logPHPErrors ) $ this -> log ( \ Psr \ Log \ LogLevel :: NOTICE , 'PHP (' . static :: getPHPError ( $ errno ) . '): ' . $ errstr , $ errfile , $ errline ) ; throw new \ ErrorException ( $ errstr , $ errno , 0 , $ errfile , $ errline ) ; }
PHP Error handler.
@param  integer $errno
@param  string  $errstr
@param  string  $errfile
@param  integer $errline
@throws \ErrorException For all PHP errors.
PHP Error handler .