cvs: phpdoc /en/functions dir.xml

From: Date: Tue, 26 Feb 2002 21:47:12 +0000
Subject: cvs: phpdoc /en/functions dir.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342615@lists.php.net to get a copy of this message
alindeman Tue Feb 26 16:47:12 2002 EDT Modified files: /phpdoc/en/functions dir.xml Log: Fixing bug #15723 Index: phpdoc/en/functions/dir.xml diff -u phpdoc/en/functions/dir.xml:1.33 phpdoc/en/functions/dir.xml:1.34 --- phpdoc/en/functions/dir.xml:1.33 Sun Feb 24 07:46:46 2002 +++ phpdoc/en/functions/dir.xml Tue Feb 26 16:47:10 2002 @@ -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">

« previous php.doc (#969342615) next »