Skip to main content

The latest version of PHP is 8.4.4, which was released on February 13, 2025. PHP 8.4 is the current development branch for new features and major changes. [1, 2]  
PHP version release dates [3]  

• PHP 8.4: Released on November 21, 2024 
• PHP 8.3: Released on November 23, 2023 
• PHP 8.2: Released on December 8, 2022 
• PHP 8.1: Released on November 25, 2021

New features in PHP 8.3 [1, 4]  

• Typed class constants 
• Granular DateTime Exceptions 
• Fallback value support for PHP INI Environment Variable syntax 
• json_validate() function 
• Addition of mb_str_pad() 
• Addition of #[\Override] attribute 
• Random extension additions

How to update PHP [3, 5]  
You can update your PHP version by following the instructions for your PHP hosting platform. [3, 5]  
Testing new versions [6]  
When new versions of PHP are released, it's recommended to test them carefully and report any issues found. You can read the NEWS file or the UPGRADING file for more information on new features and changes. [6]  

Generative AI is experimental.

[1] https://php.watch/versions[2] https://endoflife.date/php[3] https://www.zend.com/resources/php-versions[4] https://pressable.com/knowledgebase/differences-between-php-versions/[5] https://www.cloudways.com/blog/php-version-history/[6] https://www.php.net/
Not all images can be exported from Search.
 

Tags

Recent Blogs

Migrating from Drupal 7 to the latest version, such as Drupal 9 or Drupal 10, is a critical step…Read more

Drupal's Plugin API has been a key part of its flexibility and extensibility, allowing…Read more

In Drupal, caching is a critical aspect of optimizing site performance, and two key concepts in…Read more