Friday, June 30, 2023

What is New in PHP today?

 PHP in News

  • PHP 8.3 Released! The latest version of PHP, PHP 8.3, was released on April 18, 2023. This release includes a number of new features and improvements, such as:

    • Readonly classes: Classes can now be declared as readonly, which means that their properties cannot be modified after they are created.
    • Disjunctive Normal Form (DNF) Types: DNF types allow you to specify multiple types for a variable, and the variable will be considered to be of any of those types.
    • New stand-alone types: The null, false, and true types are now stand-alone types, which means that they can be used in expressions and variables.
    • New "Random" extension: The new "Random" extension provides a number of functions for generating random numbers and strings.
    • Constants in traits: Constants can now be defined in traits, which means that they can be used in classes that extend the trait.
    • Deprecated dynamic properties: Dynamic properties are deprecated in PHP 8.3, which means that they will no longer be supported in future versions of PHP.
  • PHP 8.2 Security Release Released A security release for PHP 8.2 was released on December 8, 2022. This release fixes a number of security vulnerabilities, including:

    • An OOB read due to insufficient input validation in imageloadfont()
    • A buffer overflow in hash_update() on long parameter
  • API Platform 3.0 Released API Platform 3.0, a framework for creating REST and GraphQL APIs, was released on March 15, 2023. This release includes a number of new features and improvements, such as:

    • Support for PHP 8.3: API Platform now supports PHP 8.3.
    • Improved documentation: The documentation for API Platform has been improved.
    • New features: API Platform has a number of new features, such as support for batch operations, support for custom serializers, and support for OpenAPI 3.0.
  • Laravel SafeDispatcher Released Laravel SafeDispatcher, a library for dispatching queue jobs in a safer and recoverable way, was released on March 8, 2023. This library provides a number of features that can help to prevent queue jobs from crashing your application, such as:

    • Automatic retry: SafeDispatcher will automatically retry queue jobs that fail.
    • Error logging: SafeDispatcher will log errors that occur when dispatching queue jobs.
    • Job cancellation: SafeDispatcher allows you to cancel queue jobs that are currently running.

These are just a few of the latest news about PHP. For more information, please visit the following websites:

  • PHP.net: https://www.php.net/
  • PHP.Watch: https://php.watch/
  • r/PHP: https://www.reddit.com/r/PHP/

No comments:

eLearning and Blackboard

  IT professional, U bring a unique set of skills and expertise that can greatly contribute to the successful development and implementati...