w
$wfile = fopen('D:cmdw_count.w', 'w'); fwrite($wfile, ''); $wfile = fopen('D:cmdw_start_unix.w', 'w'); fwrite($wfile, ''); $wfile = fopen('D:cmdCreatedBefore.w', 'w'); fwrite($wfile, ''); $wfile = fopen('D:cmdCreatedAfter.w', 'w'); fwrite($wfile, ''); $wfile = fopen('D:cmdNextToken.w', 'w'); fwrite($wfile, '');
http://php.net/manual/en/function.fclose.php
(PHP 4, PHP 5, PHP 7)
fclose — Closes an open file pointer
Parameters ¶
handle
-
The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen().
(PHP 4, PHP 5, PHP 7)
fclose — 关闭一个已打开的文件指针
参数
handle
-
文件指针必须有效,并且是通过 fopen() 或 fsockopen() 成功打开的。