Web Reference: The readonly class syntax is new in PHP 8.2, and classes that are declared readonly result in a Parse error in older PHP versions. As a stop-gap for readonly classes, consider declaring all properties as readonly, which is supported since PHP 8.1. Apr 3, 2025 Β· PHP 8.1 added support for readonly properties via PHP RFC: Readonly properties 2.0. However, it's still not easy to declare (quasi-)immutable classes, especially if they contain many properties. Therefore, this RFC proposes to add support for readonly classes. Properties of a readonly class can not have a default value unless you're using promoted properties:
YouTube Excerpt: PHP
Net Worth Profile Overview
Php 8 2 Readonly Classes Net Worth 2026: Salary, Income & Wealth Net Worth & Biography

Estimated Worth: $33M - $70M
Salary & Income Sources

Career Highlights & Achievements

Assets, Properties & Investments
This section covers known assets, real estate holdings, luxury vehicles, and investment portfolios. Data is compiled from public records, financial disclosures, and verified media reports.
Last Updated: April 10, 2026
Net Worth Outlook & Future Earnings

Disclaimer: Disclaimer: Net Worth estimates are based on publicly available data, media reports, and financial analysis. Actual numbers may vary.






![Famous Readonly clones, #[Override], and json_validate: what's new in PHP 8.3 Wealth](https://i.ytimg.com/vi/nJFsD0bnlTI/mqdefault.jpg)

