Generates a random string of ASCII characters of codes 32 to 126.
The generated string includes alpha-numeric characters and common miscellaneous characters. Use this method when testing general input where the content is not restricted.
Do not use this method when special characters are not possible (e.g., in machine or file names that have already been validated); instead, use BackdropWebTestCase::randomName().
$length: Length of random string to generate.
Randomly generated string.:
modules/ simpletest/ backdrop_web_test_case.php, line 719
- Base class for Backdrop tests.