aidan Wed Jul 14 06:57:08 2004 EDT
Modified files: /phpdoc/en/reference/filesystem/functions fileperms.xml Log: Typos http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fileperms.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/filesystem/functions/fileperms.xml diff -u phpdoc/en/reference/filesystem/functions/fileperms.xml:1.6 phpdoc/en/reference/filesystem/functions/fileperms.xml:1.7 --- phpdoc/en/reference/filesystem/functions/fileperms.xml:1.6 Wed Jul 14 06:49:41 2004 +++ phpdoc/en/reference/filesystem/functions/fileperms.xml Wed Jul 14 06:57:08 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileperms"> <refnamediv> @@ -22,14 +22,17 @@ <programlisting role="php"> <![CDATA[ <?php -// Returns 1777 echo substr(sprintf('%o', fileperms('/tmp')), -4); - -// Returns 0644 echo substr(sprintf('%o', fileperms('/etc/passwd')), -4); -?> ]]> </programlisting> + <para>This would produce the output:</para> + <screen> +<![CDATA[ +1777 +0644 +]]> + </screen> </example> <example> <title>Display full permissions</title> @@ -89,7 +92,7 @@ ?> ]]> </programlisting> - <para>This would prodcude the output:</para> + <para>This would produce the output:</para> <screen> <![CDATA[ -r--r--r--