php函數每日學習二十個(第六天)

來源:互聯網
上載者:User

標籤:連結   存在   puts   迴文   fwrite   讀取檔案   cti   時間   fputs   

1,fclose()關閉一個已開啟的檔案

2,file_get_contents()擷取檔案或者連結的資訊

3,file_exists()檢查檔案或者目錄是否存在

4,filesize() 取得檔案的大小

5,is_readable()判斷給定檔案是否可讀

6,is_writable()判斷給定檔案是否可寫

7,is_executable()判斷給定檔案是否可執行

8,filectime()擷取檔案的建立時間

9,filemtime()擷取檔案的修改時間

10,fileatime()擷取檔案的上次訪問時間

11,stat()擷取檔案大部分屬性值

12,fwrite()寫入檔案

13,fputs()同fwrite()功能

14,fread()讀取檔案

15,feof()檢測檔案指標是否到了檔案結束的位置

16,fgets()從檔案指標中讀取一行

17,fgetc()從問價指標中讀取字元

18,file()把整個檔案讀入一個數組

19,readfile()輸出一個檔案

20,ftell()返迴文件指標讀或者寫的位置

php函數每日學習二十個(第六天)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.