php 把整数转为二进制
把整数转为二进制 [代码片段(6行)]
function int2b($int=0){ if($int>0){ return int2b(floor($int/2)).$int%2; } } //该片段来自于http://outofmemory.cn
精彩图集
精彩文章
function int2b($int=0){ if($int>0){ return int2b(floor($int/2)).$int%2; } } //该片段来自于http://outofmemory.cn
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229