cvs: phpdoc /en/reference/math/functions decbin.xml

From: Date: Tue, 16 Dec 2003 17:55:01 +0000
Subject: cvs: phpdoc /en/reference/math/functions decbin.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357502@lists.php.net to get a copy of this message
nlopess Tue Dec 16 12:55:01 2003 EDT Modified files: /phpdoc/en/reference/math/functions decbin.xml Log: added example Index: phpdoc/en/reference/math/functions/decbin.xml diff -u phpdoc/en/reference/math/functions/decbin.xml:1.4 phpdoc/en/reference/math/functions/decbin.xml:1.5 --- phpdoc/en/reference/math/functions/decbin.xml:1.4 Mon Dec 8 04:19:12 2003 +++ phpdoc/en/reference/math/functions/decbin.xml Tue Dec 16 12:55:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.decbin"> <refnamediv> @@ -18,6 +18,26 @@ 4294967295 in decimal resulting to a string of 32 1's. </para> <para> + <example> + <title><function>decbin</function> example</title> + <programlisting role="php"> + <![CDATA[ + <?php + echo decbin(12); + ?> + ]]> + </programlisting> + <para> + The above example will output: + </para> + <screen> + <![CDATA[ + 1100 + ]]> + </screen> + </example> + </para> + <para> See also <function>bindec</function>, <function>decoct</function>, <function>dechex</function> and

« previous php.doc (#969357502) next »