cvs: phpdoc-zh /reference/math/functions decoct.xml
| From: | liuming | Date: | Fri, 12 Aug 2005 06:34:01 +0000 |
| Subject: | cvs: phpdoc-zh /reference/math/functions decoct.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2214@lists.php.net to get a copy of this message | ||
lm92 Fri Aug 12 02:34:01 2005 EDT
Modified files:
/phpdoc-zh/reference/math/functions decoct.xml
Log:
edited
http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/decoct.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/math/functions/decoct.xml
diff -u phpdoc-zh/reference/math/functions/decoct.xml:1.1
phpdoc-zh/reference/math/functions/decoct.xml:1.2
--- phpdoc-zh/reference/math/functions/decoct.xml:1.1 Sun Mar 9 05:18:12 2003
+++ phpdoc-zh/reference/math/functions/decoct.xml Fri Aug 12 02:33:58 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: lm92 $ -->
+<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready -->
<refentry id="function.decoct">
<refnamediv>
<refname>decoct</refname>
@@ -14,10 +14,29 @@
<methodparam><type>int</type><parameter>number</parameter></methodparam>
</methodsynopsis>
<para>
- ·µ»ØÒ»×Ö·û´®£¬°üº¬Óиø¶¨
- <parameter>number</parameter>
+ ·µ»ØÒ»×Ö·û´®£¬°üº¬Óиø¶¨ <parameter>number</parameter>
²ÎÊýµÄ°Ë½øÖƱíʾ¡£ËùÄÜת»»µÄ×î´óÊýֵΪʮ½øÖƵÄ
- 2147483647£¬Æä½á¹ûΪ "17777777777"¡£
+ 4294967295£¬Æä½á¹ûΪ "37777777777"¡£
+ </para>
+ <para>
+ <example>
+ <title><function>decoct</function> ·¶Àý</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo decoct(15) . "\n";
+echo decoct(264);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+17
+410
+]]>
+ </screen>
+ </example>
</para>
<para>
²Î¼û <function>octdec</function>¡£