Skip to content

Commit 4d5dbac

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: [String] ByteString::fromRandom() defaults to base58 characters
2 parents 9daddb2 + c2be2d0 commit 4d5dbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ There are also some specialized constructors::
125125

126126
// ByteString can create a random string of the given length
127127
$foo = ByteString::fromRandom(12);
128-
// by default, random strings use A-Za-z0-9 characters; you can restrict
128+
// by default, random strings use base58 characters; you can set
129129
// the characters to use with the second optional argument
130130
$foo = ByteString::fromRandom(6, 'AEIOU0123456789');
131131
$foo = ByteString::fromRandom(10, 'qwertyuiop');

0 commit comments

Comments
 (0)