Antonio Silvaantoniosilva.hashnode.dev·Mar 24, 2024PHP 8 News: Readonly propertiesIn PHP 8.1, readonly properties were introduced, which allow you to declare class properties that can only be set once during object initialization and cannot be modified thereafter. This feature brings more immutability to PHP classes, enhancing cod...PHPAdd a thoughtful commentNo comments yetBe the first to start the conversation.