vrana Thu Aug 16 11:39:10 2007 UTC
Modified files: /phpdoc/en/reference/dir/functions class.dir.xml Log: Return value of dir::read is tested (bug #42032) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dir/functions/class.dir.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/dir/functions/class.dir.xml diff -u phpdoc/en/reference/dir/functions/class.dir.xml:1.12 phpdoc/en/reference/dir/functions/class.dir.xml:1.13 --- phpdoc/en/reference/dir/functions/class.dir.xml:1.12 Mon Aug 13 00:10:59 2007 +++ phpdoc/en/reference/dir/functions/class.dir.xml Thu Aug 16 11:39:09 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- splitted from ./en/functions/dir.xml, last change in rev 1.2 --> <refentry xml:id="class.dir" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -43,10 +43,10 @@ <example> <title><function>dir</function> example</title> <para> - Please note the fashion in which <function>dir</function>'s + Please note the fashion in which <function>dir::read</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"> + 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.