src/UString.php
public static function random( $length = 10, $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ) {
		$string = '';
		for ( $i = 0; $i < $length; $i++ ) {
			$string .= $chars[ mt_rand( 0, strlen( $chars ) - 1 ) ];
		}
		return $string;
	}
public static function random( $length = 10, $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ) {
		$string = '';
		for ( $i = 0; $i < $length; $i++ ) {
			$string .= $chars[ mt_rand( 0, strlen( $chars ) - 1 ) ];
		}
		return $string;
	}
public static function random ( $ length = 10 , $ chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ) { $ string = '' ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ string .= $ chars [ mt_rand ( 0 , strlen ( $ chars ) - 1 ) ] ; } return $ string ; }
***********************************************************************
RANDOM METHODS
***********************************************************************
*********************************************************************** RANDOM METHODS ***********************************************************************