PHP What's New in PHP 8.5 RotterdamPHP Rotterdam, The Netherlands November 20th, 2025 Derick Rethans derick@php.net derickr @derickr@phpc.social https://derickrethans.nl/talks/php-rotterdam25 slides/xdebug/title.xml slides/mongodb/me.xml Syntax: https://wiki.php.net/rfc/closures_in_const_expr slides/internals/php85-closures-in-constant-expressions.xml https://wiki.php.net/rfc/fcc_in_const_expr slides/internals/php85-fcc-in-constant-expressions.xml slides/internals/php85-fcc-in-constant-expressions2.xml https://wiki.php.net/rfc/pipe-operator-v3 slides/internals/php85-pipes.xml https://wiki.php.net/rfc/asymmetric-visibility-v2 slides/internals/php84-asymmetric-visibility.xml slides/internals/php84-asymmetric-visibility-2.xml https://wiki.php.net/rfc/static-aviz slides/internals/php85-asymmetric-visibility-static.xml https://wiki.php.net/rfc/final_promotion slides/internals/php85-final-property-promotion.xml https://wiki.php.net/rfc/clone_with_v2 slides/internals/php85-clone-with.xml Major additions: https://wiki.php.net/rfc/url_parsing_api slides/internals/php85-url-parsing-api.xml https://wiki.php.net/rfc/make_opcache_required slides/internals/php85-opcache-required.xml Minor additions: Attributes: https://wiki.php.net/rfc/attributes-on-constants slides/internals/php85-attributes-on-constants.xml https://wiki.php.net/rfc/marking_return_value_as_important slides/internals/php85-nodiscard-attribute.xml https://wiki.php.net/rfc/deprecated_traits slides/internals/php85-deprecated-trait-attribute.xml https://wiki.php.net/rfc/delayedtargetvalidation_attribute https://wiki.php.net/rfc/error_backtraces_v2 slides/internals/php85-error-backtraces.xml https://wiki.php.net/rfc/filter_throw_on_failure slides/internals/php85-filter-throw.xml https://wiki.php.net/rfc/array_first_last slides/internals/php85-array-first-last.xml Language stuff: https://wiki.php.net/rfc/grapheme_str_split slides/internals/php84-grapheme-str-split.xml slides/internals/php84-grapheme-str-split-2.xml slides/internals/php84-grapheme-str-split-3.xml https://wiki.php.net/rfc/grapheme_levenshtein slides/internals/php85-grapheme-levenstein.xml slides/internals/php85-grapheme-levenstein2.xml https://wiki.php.net/rfc/grapheme_add_locale_for_case_insensitive slides/internals/php85-grapheme-levenstein3.xml slides/internals/php85-grapheme-add-locale.xml Deprecations: Deprecations for PHP 8.5 https://wiki.php.net/rfc/deprecations_php_8_5 Policy: Abstain voting option for RFCs https://wiki.php.net/rfc/rfc_vote_abstain slides/internals/policy-vote-abstain.xml Recommend PIE and deprecate PECL https://wiki.php.net/rfc/adopt_pie_deprecate_pecl slides/internals/policy-adopt-pie.xml slides/internals/questions-new.xml slides/xdebug/resources.xml