nlopess Tue Dec 16 14:15:14 2003 EDT
Modified files:
/phpdoc/en/reference/math/functions decbin.xml
Log:
corrected example
Index: phpdoc/en/reference/math/functions/decbin.xml
diff -u phpdoc/en/reference/math/functions/decbin.xml:1.5
phpdoc/en/reference/math/functions/decbin.xml:1.6
--- phpdoc/en/reference/math/functions/decbin.xml:1.5 Tue Dec 16 12:55:00 2003
+++ phpdoc/en/reference/math/functions/decbin.xml Tue Dec 16 14:15:12 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.decbin">
<refnamediv>
@@ -21,19 +21,21 @@
<example>
<title><function>decbin</function> example</title>
<programlisting role="php">
- <![CDATA[
- <?php
- echo decbin(12);
- ?>
- ]]>
+<![CDATA[
+<?php
+echo decbin(12);
+echo decbin(26);
+?>
+]]>
</programlisting>
<para>
The above example will output:
</para>
<screen>
- <![CDATA[
- 1100
- ]]>
+<![CDATA[
+1100
+11010
+]]>
</screen>
</example>
</para>