Re: [PHP-DEV] PHP 7.1 - should we add a random_str() function?

2015-10-04 Thread Leigh
On Wed, 30 Sep 2015 17:15 Scott Arciszewski wrote: This is probably answerable by a quick yes/no and shouldn't need a ton of bikeshedding, but if that happens anyway I apologize in advance. I think random_bytes() and random_int() are great; they provide a much-needed

Re: [PHP-DEV] PHP 7.1 - should we add a random_str() function?

2015-10-01 Thread Jordi Boggiano
On 30/09/2015 17:15, Scott Arciszewski wrote: This is probably answerable by a quick yes/no and shouldn't need a ton of bikeshedding, but if that happens anyway I apologize in advance. I think random_bytes() and random_int() are great; they provide a much-needed building block in PHP 7.0.

[PHP-DEV] PHP 7.1 - should we add a random_str() function?

2015-09-30 Thread Scott Arciszewski
This is probably answerable by a quick yes/no and shouldn't need a ton of bikeshedding, but if that happens anyway I apologize in advance. I think random_bytes() and random_int() are great; they provide a much-needed building block in PHP 7.0. However, I do worry a bit that the most common use