1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

PHP 8.5 | UPGRADING: add missing entries for FILTER_THROW_ON_FAILURE RFC (#20237)

Looks like the changelog entry (and possibly NEWS too?) was missed completely for this RFC.

Refs:
* https://wiki.php.net/rfc/filter_throw_on_failure
* 0b326dcbab

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
This commit is contained in:
Juliette
2025-10-20 01:32:32 +02:00
committed by GitHub
parent c2523ed581
commit 3472174583

View File

@@ -259,6 +259,13 @@ PHP 8.5 UPGRADE NOTES
. Add OffsetTime* Exif tags.
. Added support for HEIF/HEIC.
- Filter:
. Add new FILTER_THROW_ON_FAILURE flag which can be passed to the filter
functions and will force an exception to be triggered when validation fails.
The new flag cannot be combined with FILTER_NULL_ON_FAILURE; trying
to do so will result in a ValueError being thrown.
RFC: https://wiki.php.net/rfc/filter_throw_on_failure
- Intl:
. Added class constants NumberFormatter::CURRENCY_ISO,
NumberFormatter::CURRENCY_PLURAL, NumberFormatter::CASH_CURRENCY,
@@ -807,6 +814,11 @@ PHP 8.5 UPGRADE NOTES
across multiple PHP requests.
RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
- Filter:
. Filter\FilterException and Filter\FilterFailedException for use
when FILTER_THROW_ON_FAILURE has been enabled.
RFC: https://wiki.php.net/rfc/filter_throw_on_failure
- URI:
. Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode,
Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException,
@@ -886,6 +898,9 @@ PHP 8.5 UPGRADE NOTES
. CURLFOLLOW_OBEYCODE.
. CURLFOLLOW_FIRSTONLY.
- Filter:
. FILTER_THROW_ON_FAILURE.
- Intl:
. DECIMAL_COMPACT_SHORT.
. DECIMAL_COMPACT_LONG.