
decbin
(PHP 4, PHP 5)
decbin — 十进制转换为二进制
说明
string decbin
( int $number
)
返回一字符串,包含有给定
number 参数的二进制表示。所能转换的最大数值为十进制的
4294967295,其结果为 32 个 1 的字符串。
参数
number
Decimal value to convert
Range of inputs on 32-bit machines
positive number
negative number
return value
0
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...