PHP 8.2 will be released on November 24, 2022. In this post, we'll go through all features, performance improvements, changes and deprecations one by one. null and false can be used as standalone types. Dynamic properties are deprecate in PHP 8. 2, and throw an ErrorException in PHP 9.0.
Table of contents
# null and false as standalone types RFC# Readonly classes RFC# Deprecate dynamic properties RFC# Redact parameters in back traces RFC# Return type changes for DateTime :: createFromImmutable () and DateTimeImmutable :: createFromMutable () breaking# utf8_encode () and utf8_decode () deprecations RFC# Locale-insensitive strtolower () and strtoupper () breaking RFC# Signature changes to several SPL methods breaking# New n modifier in PCRE upgrading# ODBC username and password escaping breaking# Deprecate ${} string interpolation RFC# Deprecate partially supported callables RFC1 Comment
Sort: