Added a simple fclose example.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100097 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-10-18 03:07:44 +00:00
parent 3bdad6c640
commit 168e3d52f2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fclose">
<refnamediv>
@ -22,7 +22,23 @@
The file pointer must be valid, and must point to a file
successfully opened by <function>fopen</function> or
<function>fsockopen</function>.
</para>
</para>
<para>
<example>
<title>A simple <function>fclose</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$fp = fopen('somefile.txt', 'r');
fclose($fp);
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
</refentry>