PHP 8.3 RC1 Released With json_validate, Anonymous Read-Only Classes

Written by Michael Larabel in Programming on 31 August 2023 at 09:42 AM EDT. 21 Comments
PROGRAMMING
The first release candidate of PHP 8.3 is now available for testing this annual feature release.

PHP 8.3 is on the way and aiming for its stable debut at the end of November. Out on-schedule today is the first release candidate of PHP 8.3 which will then be followed by a half-dozen release candidates occurring on a bi-weekly basis. PHP 8.3.0 should reach general availability on or around 23 November.

Among the changes coming with PHP 8.3 include:

- Implementing more appropriate date/time exceptions.

- Adding a json_validate() function for validating JSON.

- Implementing the #[\Override] attribute RFC

- Updating the Zip extension and adding new set/get archive flag methods.

- The PHP POSIX support added posix_sysconf, posix_pathconf, posix_fpathconf, and posix_eaccess.

- A number of new PHP Sockets options.

- New features for the Randomizer class.

- Adding support for newer cURL options and constants up through cURL 7.87.

- Various new DOM methods added for DOM nodes and elements.

- Support for rounding negative places within the number_format() function.

- Support for zend_call_stack_get on OpenBSD platforms.

- Support for linting multiple files at once using the php -l option.

- Support for negative indices in arrays.

- Support for anonymous read-only classes.

- Support for typed class constants.

- Many bug fixes and other improvements.

PHP logo


More details on the changes for PHP 8.3 can be found via the in-progress NEWS file and Zend.com. Downloads and more details on the PHP 8.3 RC1 release via PHP.net.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week