News

Major update to PHP adds support for declaring class, interface, trait, and enum constant types. Readonly properties and randomness also get attention.
Besides performance improvements, PHP 8.3 brings a many new features, including amendments to the existing readonly feature; explicitly-typed class constants; a new # [\\Override] attribute, and more.
PHP 7.1 adds support for class constant visibility, using which constants may be declared public, protected and private.