public static function random($length = 6, $pool = self::RANDOM_POOL)
	{
		return substr(str_shuffle(str_repeat($pool, 5)), 0, $length);
	}
public static function random($length = 6, $pool = self::RANDOM_POOL)
	{
		return substr(str_shuffle(str_repeat($pool, 5)), 0, $length);
	}
public static function random ( $ length = 6 , $ pool = self :: RANDOM_POOL ) { return substr ( str_shuffle ( str_repeat ( $ pool , 5 ) ) , 0 , $ length ) ; }
Make a random string.

@param int    $length
@param string $pool
@return string
Make a random string .