public static function openFile(/*string*/ $filePath, /*string*/ $mode) {
    return self::isFile($filePath) ? fopen($filePath, $mode, false) : false;
  }
public static function openFile(/*string*/ $filePath, /*string*/ $mode) {
    return self::isFile($filePath) ? fopen($filePath, $mode, false) : false;
  }
public static function openFile ( /*string*/ $ filePath , /*string*/ $ mode ) { return self :: isFile ( $ filePath ) ? fopen ( $ filePath , $ mode , false ) : false ; }
Opens the supplied file with the requested mode.

@param string $filePath to target file
@param string $mode for opening the file
@see \fopen()
@return resource|FALSE resource to the opened file, FALSE on error
Opens the supplied file with the requested mode .