public static function error($number, $string, $file, $line)
    {
        throw new \ErrorException($string, 0, $number, $file, $line);
    }
public static function error($number, $string, $file, $line)
    {
        throw new \ErrorException($string, 0, $number, $file, $line);
    }
public static function error ( $ number , $ string , $ file , $ line ) { throw new \ ErrorException ( $ string , 0 , $ number , $ file , $ line ) ; }
Convert errors to \ErrorException instances
@param int $number
@param string $string
@param string $file
@param int $line
@throws \ErrorException
Convert errors to \ ErrorException instances