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

From: Date: Fri, 12 Aug 2005 06:44:18 +0000
Subject: cvs: phpdoc-zh /reference/math/functions dechex.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2215@lists.php.net to get a copy of this message
lm92 Fri Aug 12 02:44:18 2005 EDT Modified files: /phpdoc-zh/reference/math/functions dechex.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/dechex.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-zh/reference/math/functions/dechex.xml diff -u phpdoc-zh/reference/math/functions/dechex.xml:1.1 phpdoc-zh/reference/math/functions/dechex.xml:1.2 --- phpdoc-zh/reference/math/functions/dechex.xml:1.1 Sun Mar 9 05:18:12 2003 +++ phpdoc-zh/reference/math/functions/dechex.xml Fri Aug 12 02:44:16 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.dechex"> <refnamediv> <refname>dechex</refname> @@ -17,10 +17,31 @@ ·µ»ØÒ»×Ö·û´®£¬°üº¬Óиø¶¨ <parameter>number</parameter> ²ÎÊýµÄÊ®Áù½øÖƱíʾ¡£ËùÄÜת»»µÄ×î´óÊýֵΪʮ½øÖÆµÄ - 2147483647£¬Æä½á¹ûΪ "7fffffff"¡£ + 4294967295£¬Æä½á¹ûΪ "ffffffff"¡£ </para> <para> - ²Î¼û <function>hexdec</function>¡£ + <example> + <title><function>dechex</function> ·¶Àý</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo dechex(10) . "\n"; +echo dechex(47); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +a +2f +]]> + </screen> + </example> + </para> + <para> + ²Î¼û <function>hexdec</function>£¬<function>decbin</function>£¬<function>decoct</function> + ºÍ <function>base_convert</function>.¡£ </para> </refsect1> </refentry>

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