#development #php #reading-list #testing

🔗 FakerPHP / Faker - Numbers and Strings
fakerphp.org

Generate a string where all # characters are replaced by digits between 0 and 9. By default, ### is used as input.

1echo $faker->numerify();
2
3// '912', '271', '109', '674'
4
5echo $faker->numerify('user-####');
6
7// 'user-4928', 'user-3427', 'user-1280'
continue reading on fakerphp.org

⚠️ This post links to an external website. ⚠️