1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext
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
..
2025-12-05 22:32:39 +00:00
2025-10-15 19:39:39 +02:00
2025-12-15 23:52:00 +01:00
2025-11-06 21:30:04 +01:00
2025-12-02 20:52:27 +01:00
2025-12-03 22:30:26 +01:00
2025-12-03 20:23:01 +00:00
2025-12-04 23:25:42 +00:00
2025-10-29 14:40:01 -03:00
2025-12-08 22:31:15 +01:00
2025-12-02 16:46:14 +01:00
2025-12-14 15:29:58 +00:00
2025-11-21 09:21:19 +01:00
2025-09-29 12:45:45 -03:00
2025-12-15 20:13:40 +03:00
2025-11-12 18:23:01 +01:00
2025-12-16 15:37:38 +01:00
2025-12-16 15:37:38 +01:00
2025-10-19 14:14:02 +02:00
2025-12-15 08:14:48 +01:00
2025-11-04 08:33:55 +01:00
2025-11-05 20:22:54 +01:00
2025-12-15 23:06:25 +01:00
2025-10-11 23:57:49 +02:00
2025-11-18 20:32:15 +01:00
2025-11-17 18:24:42 +01:00