@@ -259,6 +259,13 @@ PHP 8.5 UPGRADE NOTES
259259 . Add OffsetTime* Exif tags.
260260 . Added support for HEIF/HEIC.
261261
262+ - Filter:
263+ . Add new FILTER_THROW_ON_FAILURE flag which can be passed to the filter
264+ functions and will force an exception to be triggered when validation fails.
265+ The new flag cannot be combined with FILTER_NULL_ON_FAILURE; trying
266+ to do so will result in a ValueError being thrown.
267+ RFC: https://wiki.php.net/rfc/filter_throw_on_failure
268+
262269- Intl:
263270 . Added class constants NumberFormatter::CURRENCY_ISO,
264271 NumberFormatter::CURRENCY_PLURAL, NumberFormatter::CASH_CURRENCY,
@@ -807,6 +814,11 @@ PHP 8.5 UPGRADE NOTES
807814 across multiple PHP requests.
808815 RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
809816
817+ - Filter:
818+ . Filter\FilterException and Filter\FilterFailedException for use
819+ when FILTER_THROW_ON_FAILURE has been enabled.
820+ RFC: https://wiki.php.net/rfc/filter_throw_on_failure
821+
810822- URI:
811823 . Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode,
812824 Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException,
@@ -886,6 +898,9 @@ PHP 8.5 UPGRADE NOTES
886898 . CURLFOLLOW_OBEYCODE.
887899 . CURLFOLLOW_FIRSTONLY.
888900
901+ - Filter:
902+ . FILTER_THROW_ON_FAILURE.
903+
889904- Intl:
890905 . DECIMAL_COMPACT_SHORT.
891906 . DECIMAL_COMPACT_LONG.
0 commit comments