Skip to content

Proposition::base64Chars()

Jonathan Gjertsen edited this page Jun 18, 2017 · 6 revisions

Syntax

$proposition->given(Proposition::base64Chars($url_variant= false));

Provides a stream of base 64 chars. If $url_variant is true, 62 and 63 will be represented as "-" and "_" respectively, instead of the default "+" and "/".

Other options

See String generator overview for a list of all string generators.