我想使用 PHP 生成一个包含 75 个字符的数字。
我到处寻找,但一无所获,除了这个:http://dailycoding.com/tools/RandomNumber.aspx http://dailycoding.com/tools/RandomNumber.aspx
我不认为从该页面抓取它是有效的。
我尝试过的是这样的:
rand(1,9999999999999999999999999999999999999);
try this
function bigNumber() {
# prevent the first number from being 0
$output = rand(1,9);
for($i=0; $i<74; $i++) {
$output .= rand(0,9);
}
return $output;
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)