wez Wed Jun 18 17:13:25 2003 EDT Modified files: /phpdoc/en/reference/dir/functions class.dir.xml Log: add tags for syntax highlighting Index: phpdoc/en/reference/dir/functions/class.dir.xml diff -u phpdoc/en/reference/dir/functions/class.dir.xml:1.3 phpdoc/en/reference/dir/functions/class.dir.xml:1.4 --- phpdoc/en/reference/dir/functions/class.dir.xml:1.3 Sun Sep 22 13:56:46 2002 +++ phpdoc/en/reference/dir/functions/class.dir.xml Wed Jun 18 17:13:25 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/dir.xml, last change in rev 1.2 --> <refentry id="class.dir"> <refnamediv> @@ -46,6 +46,7 @@ <title><function>dir</function> example</title> <programlisting role="php"> <![CDATA[ +<?php $d = dir("/etc"); echo "Handle: ".$d->handle."<br>\n"; echo "Path: ".$d->path."<br>\n"; @@ -53,6 +54,7 @@ echo $entry."<br>\n"; } $d->close(); +?> ]]> </programlisting> </example>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php