cvs: phpdoc-hu /reference/math/functions bindec.xml
| From: | Cece) Szabolcs | Date: | Tue, 03 Aug 2004 14:49:58 +0000 |
| Subject: | cvs: phpdoc-hu /reference/math/functions bindec.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-770@lists.php.net to get a copy of this message | ||
cece Tue Aug 3 10:49:58 2004 EDT
Modified files:
/phpdoc-hu/reference/math/functions bindec.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/math/functions/bindec.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-hu/reference/math/functions/bindec.xml
diff -u phpdoc-hu/reference/math/functions/bindec.xml:1.3
phpdoc-hu/reference/math/functions/bindec.xml:1.4
--- phpdoc-hu/reference/math/functions/bindec.xml:1.3 Fri Aug 9 11:09:46 2002
+++ phpdoc-hu/reference/math/functions/bindec.xml Tue Aug 3 10:49:57 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-2" ?>
<!-- splitted from ./hu/functions/math.xml, last change in rev 1.1 -->
<!-- last change to 'bindec' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.3 Maintainer: gerzson Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: gerzson Status: ready -->
<!-- OLD-Revision: 1.78/EN.1.2 -->
<refentry id="function.bindec">
<refnamediv>
@@ -24,7 +24,36 @@
db 1 bitbõl álló szám, vagyis 2147483647 (10-es számrendszerben).
</para>
<para>
- Lásd még: <function>decbin</function>!
+ <example>
+ <title><function>bindec</function> példa</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo bindec('110011') . "\n";
+echo bindec('000110011') . "\n";
+
+echo bindec('111');
+?>
+]]>
+ </programlisting>
+ <para>
+ A fenti példaprogram a következõ kimenetet adja:
+ </para>
+ <screen>
+<![CDATA[
+51
+51
+7
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ Lásd még:
+ <function>decbin</function>,
+ <function>octdec</function>,
+ <function>hexdec</function> és
+ <function>base_convert</function>.
</para>
</refsect1>
</refentry>