PHP 教程
is_writeable() 函數(shù)檢查指定的文件是否可寫。
如果文件可寫,該函數(shù)返回 TRUE。
該函數(shù)是 is_writable() 函數(shù)的別名。
注釋:該函數(shù)的結果會被緩存。請使用 clearstatcache() 來清除緩存。
上面的代碼將輸出: