1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
Kyle 06ea0e5df1 [RFC] Add clamp function (#19434)
* Implement clamp function

Co-authored-by: thinkverse <hallberg.kim@gmail.com>

* - Use a common function for normal and frameless implementations
- Add tests for null and not-comparable cases
- Fix object support for frameless clamp function
- Improve NAN handling

* Create tests triggering both frameless and dynamic variants

* Add changelog

* [Review] rephrase error messages to use "must not"

* Enable assert()

---------

Co-authored-by: thinkverse <hallberg.kim@gmail.com>
2025-12-18 20:27:30 +01:00
..
2021-02-25 17:39:31 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-02-03 21:03:00 +01:00
2024-02-03 22:23:02 +09:00
2020-09-18 14:28:32 +02:00
2021-05-29 11:33:13 +02:00
2025-12-18 20:27:30 +01:00
2018-10-14 12:07:20 -03:00
2019-11-07 21:31:47 +01:00
2021-02-25 17:39:31 +00:00
2019-11-07 21:31:47 +01:00
2021-02-25 17:39:31 +00:00