Re: Proposal: clamp
| From: | Marco Pivetta | Date: | Wed, 23 Jun 2021 01:06:44 +0000 |
| Subject: | Re: Proposal: clamp | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115051@lists.php.net to get a copy of this message | ||
Hey Kim
On Wed, Jun 23, 2021, 02:25 Kim Hallberg <hallbergkim@gmail.com> wrote:
> This function is very easy to implement, has no side effects or backward
> compatibility issues, unless a userland implementation already has the
> function declared,
>
I like the function, the name, and its simplicity.
The problem is exactly the fact that it is trivial to implement in
userland: why not do it there instead?
>