random string, random letters
This function creates a string containing random upper-case characters from A..Z and digits 0..9. The function random letters generates strings with upper-case characters from A..Z only.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
numeral | character count Specifies the number of random characters in the string. |
Type | Description |
---|---|
string | Generated random string |
Invalid character code (outside 0 - 1114111 range)
for (i[] = 1, i[] <= 5, i[]++)
{
echo( random string( 10 ), " ", random letters( 10 ) );
}
RWEVB8K7G3 XTDCFFWXRG
OJTAOZ5FK3 INUIAIVBWM
8UY9NMP547 GUAAMANVJV
NA1S0UNL3G NFZHBTSEPW
PRO0J7TB8A AJSNALUWQZ