> On 23 Jun 2021, at 2:25 AM, Kim Hallberg <hallberg...@gmail.com> wrote:
>
> Greetings internals,
>
> I present to you a proposal for a new basic math function: clamp.
>
> function clamp(int|float $num, int|float $min, int|float $max): int|float {}
Instead of answering each response individually I’ll post a reply here instead.
Since the majority seems to have a pretty positive position on this proposal.
I am moving ahead with an RFC for this, and am now requesting RFC karma.
If anyone would like to grant me the privilege to create this RFC you can grant
me karma for the username: thinkverse on the wiki. A pull request into source
will be submitted right after RFC has been written.
Thank you,
Kim.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php