Skip to content

Proposition::hexStrings()

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

Syntax

$proposition->given(Proposition::hexStrings($max_len, $lowercase = false);

Provides a stream of hex strings up to a length of $max_len. If $lowercase is true, the numbers 10-15 will be represented as a-f instead of the default A-F.

Other options

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