Re: I want to submit a function, can't understand how to
| From: | Johannes Schlüter | Date: | Thu, 10 Oct 2013 20:50:08 +0000 |
| Subject: | Re: I want to submit a function, can't understand how to | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-66948@lists.php.net to get a copy of this message | ||
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