src/ch/timesplinter/core/ErrorHandler.php
public function handlePHPError($error_number, $error, $error_file, $error_line)
	{
		// respect the current error_reporting setting
		if((error_reporting() & $error_number) === 0)
			return;
		
		throw new PHPException($error_number, $error, $error_file, $error_line);
	}
public function handlePHPError($error_number, $error, $error_file, $error_line)
	{
		// respect the current error_reporting setting
		if((error_reporting() & $error_number) === 0)
			return;
		
		throw new PHPException($error_number, $error, $error_file, $error_line);
	}
public function handlePHPError ( $ error_number , $ error , $ error_file , $ error_line ) { // respect the current error_reporting setting if ( ( error_reporting ( ) & $ error_number ) === 0 ) return ; throw new PHPException ( $ error_number , $ error , $ error_file , $ error_line ) ; }
Catches all the PHP errors and convert them into a PHP exception

@param int $error_number
@param string $error
@param string $error_file
@param int $error_line

@throws PHPException
Catches all the PHP errors and convert them into a PHP exception