public static function randomStr( $base )
	{
		$result = "";

		if ( is_int( $base ) )
			for ( $i = 0; $i < $base; $i++ )
				$result .= static::$randomCharMap[random_int( 0, count( static::$randomCharMap ) )];
		else
			for ( $i = 0; $i < strlen( $base ); $i++ )
				$result .= static::randomChar( $base[$i] );

		return $result;
	}
public static function randomStr( $base )
	{
		$result = "";

		if ( is_int( $base ) )
			for ( $i = 0; $i < $base; $i++ )
				$result .= static::$randomCharMap[random_int( 0, count( static::$randomCharMap ) )];
		else
			for ( $i = 0; $i < strlen( $base ); $i++ )
				$result .= static::randomChar( $base[$i] );

		return $result;
	}
public static function randomStr ( $ base ) { $ result = "" ; if ( is_int ( $ base ) ) for ( $ i = 0 ; $ i < $ base ; $ i ++ ) $ result .= static :: $ randomCharMap [ random_int ( 0 , count ( static :: $ randomCharMap ) ) ] ; else for ( $ i = 0 ; $ i < strlen ( $ base ) ; $ i ++ ) $ result .= static :: randomChar ( $ base [ $ i ] ) ; return $ result ; }
Scrambles of string of characters but keeps the results either uppercase, lowercase, or numeric

@param string|int $base
Scrambles of string of characters but keeps the results either uppercase lowercase or numeric