note 52282 added to function.decbin
| From: | dcramer at gmail dot com | Date: | Tue, 26 Apr 2005 23:57:03 +0000 |
| Subject: | note 52282 added to function.decbin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88600@lists.php.net to get a copy of this message | ||
matt at nexxmedia dot com (06-Dec-2002 04:29) said:
<?php
...
strrev(str_pad(decbin($decval),8,"0",STR_PAD_LEFT));
...
?>
<?php
str_pad(decbin ($decval),8,'0');
?>
produces the same results!
--
That's incorrect, it does not produce the same results.
----
Manual Page -- http://www.php.net/manual/en/function.decbin.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52282
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52282&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52282&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52282&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52282&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52282&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52282&report=yes
Search -- http://master.php.net/manage/user-notes.php