<?php str_shuffle(string $string): string
<?php $e = new Encrypter(str_repeat('a', 16)); $payload = $e->encrypt('foo'); $payload = str_shuffle($payload); $e->decrypt($payload); }
<?php public static function random(int $length = 16): string { return substr(str_shuffle(str_repeat(self::POOL, 5)), 0, $length); }
<?php private function assertFieldRendersHtml($expectedHtmlParts, $fieldConfig, $oldData = []) { $randomString = str_shuffle('nobodymesseswiththehoff'); $this->customFieldBlueprintHandle = $handle = $fieldConfig['handle'].'_'.$randomString;