fclose
(PHP 4, PHP 5, PHP 7, PHP 8)
fclose — 关闭一个已打开的文件指针
示例
示例 #1 一个简单 fclose() 例子
<?php
$handle = fopen('somefile.txt', 'r');
fclose($handle);
?>(PHP 4, PHP 5, PHP 7, PHP 8)
fclose — 关闭一个已打开的文件指针
示例 #1 一个简单 fclose() 例子
<?php
$handle = fopen('somefile.txt', 'r');
fclose($handle);
?>