StringValue line = file.readLine();
StringValue line = file.readLine(length);
  public static Value stream_get_line(Env env,                                      @NotNull StreamResource file,                                      @Optional("-1") long length)  {    try {      if (file == null)        return BooleanValue.FALSE;      if (length < 0)        length = Integer.MAX_VALUE;      StringValue line = file.readLine();      if (line == null)        return BooleanValue.FALSE;      int lineLength = line.length();      if (lineLength == 0)        return line;      char tail = line.charAt(lineLength - 1);      if (tail == '\n')        return line.substring(0, line.length() - 1);      else if (tail == '\r')        return line.substring(0, line.length() - 1);      else        return line;    } catch (IOException e) {      throw new QuercusModuleException(e);    }  }