作者:蜗蜗家的逆时针 | 来源:互联网 | 2018-03-20 23:01
跳至
$count = intval(2147483649) > 0 ? 64 : 32;
$rules = range(1,$count);
$allows = array_rand($rules, rand(2,$count));
$access = 0;
foreach ($allows as $value) {
$access |= 1 < $value) {
echo &#39; [&#39; . $value . &#39;:&#39; . ( ( $access & (1 <<$key) ) ? &#39;Y&#39; : &#39;N&#39; ). &#39;] &#39;;
}