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

From: Date: Fri, 12 Aug 2005 05:53:12 +0000
Subject: cvs: phpdoc-zh /reference/math/functions hexdec.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2212@lists.php.net to get a copy of this message
lm92 Fri Aug 12 01:53:12 2005 EDT Modified files: /phpdoc-zh/reference/math/functions hexdec.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/hexdec.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-zh/reference/math/functions/hexdec.xml diff -u phpdoc-zh/reference/math/functions/hexdec.xml:1.2 phpdoc-zh/reference/math/functions/hexdec.xml:1.3 --- phpdoc-zh/reference/math/functions/hexdec.xml:1.2 Mon Aug 18 21:55:08 2003 +++ phpdoc-zh/reference/math/functions/hexdec.xml Fri Aug 12 01:53:06 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- $Author: lm92 $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> <refentry id="function.hexdec"> <refnamediv> <refname>hexdec</refname> @@ -10,14 +10,15 @@ <refsect1> <title>˵Ã÷</title> <methodsynopsis> - <type>int</type><methodname>hexdec</methodname> + <type>number</type><methodname>hexdec</methodname> <methodparam><type>string</type><parameter>hex_string</parameter></methodparam> </methodsynopsis> <para> ·µ»ØÓë <parameter>hex_string</parameter> ²ÎÊýËù±íʾµÄÊ®Áù½øÖÆÊýµÈÖµµÄµÄÊ®½øÖÆÊý¡£<function>hexdec</function> ½«Ò»¸öÊ®Áù½øÖÆ×Ö·û´®×ª»»ÎªÊ®½øÖÆÊý¡£ËùÄÜת»»µÄ×î´óÊýֵΪ - 7fffffff£¬¼´Ê®½øÖÆµÄ 2147483647¡£ + 7fffffff£¬¼´Ê®½øÖÆµÄ 2147483647¡£PHP 4.1.0 + ¿ªÊ¼£¬¸Ãº¯Êý¿ÉÒÔ´¦Àí´óÊý×Ö£¬ÕâÖÖÇé¿öÏ£¬Ëü»á·µ»Ø <type>float</type> ÀàÐÍ¡£ </para> <para> <function>hexdec</function> ½«Óöµ½µÄËùÓзÇÊ®Áù½øÖÆ×Ö·ûÌæ»»³É @@ -31,16 +32,16 @@ var_dump(hexdec("ee")); // both print "int(238)" -var_dump(hexdec("that")); -var_dump(hexdec("a0")); -// both print int(160) +var_dump(hexdec("that")); // print "int(10)" +var_dump(hexdec("a0")); // print "int(160)" ?> ]]> </programlisting> </example> </para> <para> - ²Î¼û <function>dechex</function>¡£ + ²Î¼û <function>dechex</function>£¬<function>bindec</function>£¬<function>octdec</function> + ºÍ<function>base_convert</function>¡£ </para> </refsect1> </refentry>

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