Опубликовано: 05 Ноябрь 2024 на канале: PHP Annotated
4,866
259
PHP 8.2 adds a new way of declaring classes: you can make them readonly.
How to clone readonly classes and overwrite their data: • Cloning Readonly Classes in PHP 8.2
Learn more about PHP 8.2 here: • Let's take a look at PHP 8.2