Hi,

On Fri, 2013-10-11 at 01:00 +0600, rakib hasan wrote:
> <?php
> echo rand_char(5);
> ?>
>  then it will generate a value like this: 5iUk4s or it can be less
> than 5 but never more than 5 characters.
> Is there is already a function like this?

No, such a function doesn't exist in PHP core, but creating it in
userland using PHP is quite trivial.

>  or I can submit it, then how i can submit my function?

To submit a patch you can create github pull request, submit a u at
bugs.php.net or send it to the internals list.

But, in my opinion, such a special kind of function has little chance of
being accepted.

johannes


-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to