<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # [SplFileObject](https://www.php.net/manual/zh/class.splfileobject.php) >[info] SplFileObject類為文件提供了一個面向對象接口. ``` SplFileObject extends SplFileInfo implements RecursiveIterator , SeekableIterator { /* 常量 */ const integer DROP_NEW_LINE = 1 ;//在行尾刪除換行符 const integer READ_AHEAD = 2 ; //rewind/nextd的方式讀取 const integer SKIP_EMPTY = 4 ; //跳過文件中的空行。這需要啟用READ_AHEAD標志,才能按預期工作 const integer READ_CSV = 8 ; //將行讀取為CSV行。 /* 方法 */ public eof ( void ) : bool //到達文件結尾 public fflush ( void ) : bool //將輸出刷新到文件 public fgetc ( void ) : string //從文件中獲取字符 public fgetcsv ([ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\" ]]] ) : array //從文件中獲取行并解析為CSV字段 public fgets ( void ) : string //從文件中獲取行 public fgetss ([ string $allowable_tags ] ) : string //從文件中獲取行并剝離HTML標記 public flock ( int $operation [, int &$wouldblock ] ) : bool //便攜式文件鎖定 public fpassthru ( void ) : int //輸出文件指針上的所有剩余數據 public fputcsv ( array $fields [, string $delimiter = "," [, string $enclosure = '"' [, string $escape = "\\" ]]] ) : int //將字段數組寫為CSV行 public fread ( int $length ) : string //從文件中讀取 public fscanf ( string $format [, mixed &$... ] ) : mixed //根據格式從文件中解析輸入 public fseek ( int $offset [, int $whence = SEEK_SET ] ) : int //尋求一個位置 public fstat ( void ) : array //獲取有關該文件的信息 public ftell ( void ) : int //返回當前文件位置 public ftruncate ( int $size ) : bool //將文件截斷為給定長度 public fwrite ( string $str [, int $length ] ) : int //寫入文件 public getCsvControl ( void ) : array //獲取CSV的分隔符,機箱和轉義字符 public getCurrentLine ( void ) : string //SplFileObject :: fgets的別名 public getFlags ( void ) : int //獲取SplFileObject的標志 public getMaxLineLen ( void ) : int //獲得最大線長 public setCsvControl ([ string $delimiter = "," [, string $enclosure = "\"" [, string $escape = "\\" ]]] ) : void //獲取CSV的分隔符,機箱和轉義字符 public setFlags ( int $flags ) : void //設置SplFileObject的標志 public setMaxLineLen ( int $max_len ) : void //設置最大行長度 //RecursiveIterator public getChildren ( void ) : void //返回當前條目的迭代器(No purpose?) public hasChildren ( void ) : bool //返回是否可以為當前條目創建迭代器(SplFileObject沒有子級) //SeekableIterator public seek ( int $line_pos ) : void //RecursiveIterator與SeekableIterator public current ( void ) : string|array //檢索當前文件行 public key ( void ) : int public next ( void ) : void public rewind ( void ) : void public valid ( void ) : bool /* 繼承的方法 */ public __construct ( string $file_name ) public getATime ( void ) : int //獲取文件的上次訪問時間 public getBasename ([ string $suffix ] ) : string //獲取文件的基本名稱 public getCTime ( void ) : int //獲取文件 inode 修改時間 public getExtension ( void ) : string //獲取文件擴展名 public getFileInfo ([ string $class_name ] ) : SplFileInfo //獲取文件的SplFileInfo對象 public getFilename ( void ) : string //獲取文件名 public getGroup ( void ) : int //獲取文件組 public getInode ( void ) : int //獲取文件的inode public getLinkTarget ( void ) : string //獲取鏈接的目標 public getMTime ( void ) : int //獲取上次修改時間 public getOwner ( void ) : int //獲取文件的所有者 public getPath ( void ) : string //獲取沒有文件名的路徑 public getPathInfo ([ string $class_name ] ) : SplFileInfo //獲取路徑的SplFileInfo對象 public getPathname ( void ) : string //獲取文件的路徑 public getPerms ( void ) : int //獲取文件權限 public getRealPath ( void ) : string //獲取文件的絕對路徑 public getSize ( void ) : int //獲取文件大小 public getType ( void ) : string //獲取文件類型 public isDir ( void ) : bool //判斷文件是否是目錄 public isExecutable ( void ) : bool //判斷文件是否可執行 public isFile ( void ) : bool //判斷對象是否引用了常規文件 public isLink ( void ) : bool //判斷文件是否為鏈接 public isReadable ( void ) : bool //判斷文件是否可讀 public isWritable ( void ) : bool //判斷條目是否可寫 public openFile ([ string $open_mode = "r" [, bool $use_include_path = FALSE [, resource $context = NULL ]]] ) : SplFileObject //獲取文件的SplFileObject對象 public setFileClass ([ string $class_name = "SplFileObject" ] ) : void //設置與SplFileInfo :: openFile一起使用的類 public setInfoClass ([ string $class_name = "SplFileInfo" ] ) : void //設置與SplFileInfo :: getFileInfo和SplFileInfo :: getPathInfo一起使用的類 public __toString ( void ) : string //以字符串形式返回文件的路徑 SplFileObject :: fgets的別名 } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看