zoukankan      html  css  js  c++  java
  • fopen()

    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

    Description ¶

    bool fclose ( resource $handle )

    The file pointed to by handle is closed.

    Parameters ¶

    handle

    The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen().

    Return Values ¶

    Returns TRUE on success or FALSE on failure.

     

    (PHP 4, PHP 5, PHP 7)

    fclose — 关闭一个已打开的文件指针

     

    说明

    bool fclose ( resource $handle )

    将 handle 指向的文件关闭。

    参数

    handle

    文件指针必须有效,并且是通过 fopen() 或 fsockopen() 成功打开的。

    返回值

    成功时返回 TRUE, 或者在失败时返回 FALSE

     

     

     

  • 相关阅读:
    1 let和const
    ECMAScript 6 扫盲
    回溯法
    13. Ajax技术
    12.JSTL标签
    11.EL(表达式语言)
    10.正则表达式(未完成)
    博客园自定义样式
    9.一次简单的Web作业
    8.JavaScript
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6742371.html
Copyright © 2011-2022 走看看