1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Ayesh Karunaratne 6419618f54 ext/standard: update array_filter $mode param default value to ARRAY_FILTER_USE_VALUE
In GH-15647, the `array_filter` function was changed to throw a
`ValueError` exception when the `$mode` parameter receives an
invalid.

Additionally, it declares a new `ARRAY_FILTER_USE_VALUE`, assigned
(`int 1`) to it.

This changes the default value of the `array_filter` function's
`$mode` parameter to use the new constant, changing it from
`int $mode = 0` to `int $mode = ARRAY_FILTER_USE_KEY)`.

Closes GH-21100.
2026-02-01 10:35:32 +07:00
..
2026-01-30 13:10:35 +00:00
2026-01-24 11:39:28 +00:00
2026-01-30 18:14:24 +01:00
2026-01-26 20:37:23 +01:00
2026-01-31 19:44:56 +01:00
2026-01-31 19:44:56 +01:00
2026-01-23 15:00:22 +01:00
2026-01-28 18:15:04 +00:00