Re: cvs: phpdoc /en/reference/math/functions decbin.xml
| From: | Jakub Vrana | Date: | Wed, 17 Dec 2003 08:29:31 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/math/functions decbin.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357509@lists.php.net to get a copy of this message | ||
> +<![CDATA[
> +<?php
> +echo decbin(12);
> +echo decbin(26);
> +?>
> +]]>
> +<![CDATA[
> +1100
> +11010
> +]]>
I'm the same newbie as you but I think that output should correspond
to reality.
echo decbin(12);
echo decbin(26);
outputs 110011010 so there should be probably some newlines in echo.
For this short output will be also probably better simpler method than
<screen> as RFC/coding_standards say:
"For very short example printouts, use C++ style comment (//) on the
line where the output occurs, or in the description above the line:
echo $var; // 32
For longer example printouts, there are a couple methods which are
acceptable." ...
Jakub Vrana