mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixing bug #15723
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70993 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
798df112a0
commit
9d5179e5c3
1 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.33 $ -->
|
||||
<!-- $Revision: 1.34 $ -->
|
||||
<reference id="ref.dir">
|
||||
<title>Directory functions</title>
|
||||
<titleabbrev>Directories</titleabbrev>
|
||||
|
@ -90,6 +90,15 @@
|
|||
<function>closedir</function>. The path property is set to path
|
||||
the directory that was opened. Three methods are available:
|
||||
read, rewind and close.
|
||||
</para>
|
||||
<para>
|
||||
Please note the fashion in which <function>dir</function>'s
|
||||
return value is checked in the example below. We are explicitly
|
||||
testing whether the return value is identical to (equal to and of
|
||||
the same type as--see <link linkend="language.operators.comparison">
|
||||
Comparison Operators</link> for more information) &false; since
|
||||
otherwise, any directory entry whose name evaluates to &false; will
|
||||
stop the loop.
|
||||
<example>
|
||||
<title><function>dir</function> example</title>
|
||||
<programlisting role="php">
|
||||
|
|
Loading…
Reference in a new issue