Skip to content

Glossary: PHP Basics

readonly

A property marker meaning it can be set once, in the constructor, and never changed. Changing it later is an error.

Where the book teaches it

Related terms

propertyconstructor