PHP Classes

3 Last PHP 8.3 New Features

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog 3 Last PHP 8.3 New Fe...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 904

PHP 8.3 feature freeze ended July 18, 2023. This means no new features will be added to PHP 8.3.0, released around November and December 2023.

Read this article to learn the last four features implemented to know what you can expect when the final PHP 8.3.0 is released.




Loaded Article

In this article you may learn below about newly implemented PHP 8.3 features:

1. Deprecate functions with overloaded signatures

2. Path to Saner Increment/Decrement operators

3. Deprecate remains of string evaluated code assertions

4. The Complete List of New Features of PHP 8.3

PHP 8.3

This image above is based on PHP 8 logo design by Vincent Pointier.

Newly Implemented PHP 8.3 Features

1. Deprecate functions with overloaded signatures

Signatures are what is called to the way how function names, parameters, and return values are declared.

Until before, PHP 8.3, it was allowed to declare functions with multiple signatures.

This improvement will make PHP issue notices for functions with multiple signatures that can make functions behave differently depending on the signature used when the PHP functions are called.

You can learn more about this improvement in respective RFC (Request For Change) document.

2. Path to Saner Increment/Decrement operators

This improvement adds new functions str_increment() and str_decrement() to incremente and decrement strings that contain numbers.

It also adds support to increment and decrement objects that can behave like numbers.

You can learn more about this new function in the respective RFC (Request For Change) document.

3. Deprecate remains of string evaluated code assertions

This improvement will make PHP issue warnings when several assert options are used.

You can learn more about this new function in the respective RFC (Request For Change) document.

4. The Complete List of New Features of PHP 8.3

PHP 8.3 will have other new features that are already implemented. You may read more about those new features in this article about PHP 8.3 New Features that You Will Want to Use After PHP 8.3 Release Date.




You need to be a registered user or login to post a comment

1,616,770 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog 3 Last PHP 8.3 New Fe...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)