cvs: phpdoc-zh /reference/math/functions octdec.xml

From: Date: Fri, 12 Aug 2005 04:41:02 +0000
Subject: cvs: phpdoc-zh /reference/math/functions octdec.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2203@lists.php.net to get a copy of this message
lm92 Fri Aug 12 00:41:02 2005 EDT Modified files: /phpdoc-zh/reference/math/functions octdec.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/octdec.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-zh/reference/math/functions/octdec.xml diff -u phpdoc-zh/reference/math/functions/octdec.xml:1.1 phpdoc-zh/reference/math/functions/octdec.xml:1.2 --- phpdoc-zh/reference/math/functions/octdec.xml:1.1 Wed Mar 12 06:06:07 2003 +++ phpdoc-zh/reference/math/functions/octdec.xml Fri Aug 12 00:41:01 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.2 $ --> +<!-- $Author: lm92 $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id="function.octdec"> <refnamediv> @@ -10,7 +10,7 @@ <refsect1> <title>˵Ã÷</title> <methodsynopsis> - <type>int</type><methodname>octdec</methodname> + <type>number</type><methodname>octdec</methodname> <methodparam><type>string</type><parameter>octal_string</parameter></methodparam> </methodsynopsis> <para> @@ -19,7 +19,28 @@ 17777777777 »òÊ®½øÖÆµÄ 2147483647¡£ </para> <para> - ²Î¼û <function>decoct</function>¡£ + <example> + <title><function>octdec</function> ·¶Àý</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo octdec('77') . "\n"; +echo octdec(decoct(45)); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +63 +45 +]]> + </screen> + </example> + </para> + <para> + ²Î¼û <function>decoct</function><function>bindec</function>£¬<function>hexdec</function> + ºÍ <function>base_convert</function>.¡£ </para> </refsect1> </refentry>

« previous php.doc.zh (#2203) next »