cvs: phpdoc /en/reference/dir/functions readdir.xml

From: Date: Wed, 16 Jul 2003 17:10:38 +0000
Subject: cvs: phpdoc /en/reference/dir/functions readdir.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969355282@lists.php.net to get a copy of this message
didou Wed Jul 16 13:10:38 2003 EDT Modified files: /phpdoc/en/reference/dir/functions readdir.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/dir/functions/readdir.xml diff -u phpdoc/en/reference/dir/functions/readdir.xml:1.4 phpdoc/en/reference/dir/functions/readdir.xml:1.5 --- phpdoc/en/reference/dir/functions/readdir.xml:1.4 Wed Mar 19 07:14:20 2003 +++ phpdoc/en/reference/dir/functions/readdir.xml Wed Jul 16 13:10:38 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/dir.xml, last change in rev 1.2 --> <refentry id="function.readdir"> <refnamediv> @@ -32,8 +32,9 @@ <title>List all files in a directory</title> <programlisting role="php"> <![CDATA[ -// Note that !== did not exist until 4.0.0-RC2 <?php +// Note that !== did not exist until 4.0.0-RC2 + if ($handle = opendir('/path/to/files')) { echo "Directory handle: $handle\n"; echo "Files:\n"; @@ -81,7 +82,10 @@ </programlisting> </example> </para> - <para>See also <function>is_dir</function>, and <function>glob</function>.</para> + <para> + See also <function>is_dir</function> and + <function>glob</function>. + </para> </refsect1> </refentry>

« previous php.doc (#969355282) next »