PHP 8.3 official release: introduction of class constant explicit types, deep copies of read-only attributes, etc.
CTOnews.com November 23 news, PHP 8.3 version has been officially launched, for many programmers, PHP is the "best language", and the recently released 8.3 version is the annual major version update in 2023, friends can click here to visit the project page: click to visit
CTOnews.com learned from the official title that the most important changes in PHP 8.3 are the addition of "class constant explicit type", "deep copy of read-only attributes", "supplement to random features", as well as performance improvements, error fixes and other contents. CTOnews.com collates the details as follows:
Class constant explicit type
Deep copy of read-only attributes
Add # [\ Override] attribute
New json_validate () function
Add the Randomizer::getBytesFromString () method
Add Randomizer::getFloat () and Randomizer::nextFloat () methods