cvs: phpdoc-zh /reference/math/functions decbin.xml
| From: | liuming | Date: | Fri, 12 Aug 2005 06:50:47 +0000 |
| Subject: | cvs: phpdoc-zh /reference/math/functions decbin.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2216@lists.php.net to get a copy of this message | ||
lm92 Fri Aug 12 02:50:47 2005 EDT
Modified files:
/phpdoc-zh/reference/math/functions decbin.xml
Log:
updated to en version
http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/decbin.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-zh/reference/math/functions/decbin.xml
diff -u phpdoc-zh/reference/math/functions/decbin.xml:1.2
phpdoc-zh/reference/math/functions/decbin.xml:1.3
--- phpdoc-zh/reference/math/functions/decbin.xml:1.2 Sun Mar 9 05:19:07 2003
+++ phpdoc-zh/reference/math/functions/decbin.xml Fri Aug 12 02:50:45 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Author: lm92 $ -->
+<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready -->
<refentry id="function.decbin">
<refnamediv>
<refname>decbin</refname>
@@ -19,7 +19,28 @@
4294967295£¬Æä½á¹ûΪ 32 ¸ö 1 µÄ×Ö·û´®¡£
</para>
<para>
- ²Î¼û <function>bindec</function>¡£
+ <example>
+ <title><function>decbin</function> ·¶Àý</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo decbin(12) . "\n";
+echo decbin(26);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+1100
+11010
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ ²Î¼û
<function>bindec</function>£¬<function>decoct</function>£¬<function>dechex</function>
+ ºÍ <function>base_convert</function>¡£
</para>
</refsect1>
</refentry>