我用这个
获得了php通知$code = "";
while ($id > $length - 1) {
// determine the value of the next higher character
// in the short code should be and prepend
$code = self::$chars[fmod($id, $length)] . $code; //<-- line 251
// reset $id to remaining value to be converted
$id = floor($id / $length);
}
// remaining value of $id is less than the length of
// self::$chars
$code = self::$chars[$id] . $code; //<-- line 258
return $code;
NOTICE代码是这一部分:
$code = self::$chars[fmod($id, $length)] . $code;
$code = self::$chars[$id] . $code;
如何解决?我找不到它,请大家帮忙.. :)