Skip to content

Proposition::alphanumerics()

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

Syntax

$proposition->given(Proposition::alphanumerics());

Provides a stream of ASCII characters. Uses the original 128 ASCII codes by default, but can be extended by setting $extended to true.

Other options

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