xn_rand()
xn_rand($n = 16)
【功能】
产生随机字符串。
【参数】
$n:位数
【用例】
<?php
include "./xiunophp/xiunophp.php";
$s = xn_rand(16);
echo $s;
// 结果:kd3igi2a7we9gkj3
?>
xn_rand($n = 16)
产生随机字符串。
$n:位数
<?php
include "./xiunophp/xiunophp.php";
$s = xn_rand(16);
echo $s;
// 结果:kd3igi2a7we9gkj3
?>