# Readonly Property Defaults in PHP 8.6: A Four-Year-Old Restriction Finally Lifts

DevFeed: [Readonly Property Defaults in PHP 8.6: A Four-Year-Old Restriction Finally Lifts](<https://devfeed.tech/articles/readonly-property-defaults-in-php-8-6-a-four-year-old-restriction-finally-lifts-85150.md>)

Original publisher: [Read original article](<https://freek.dev/3204-readonly-property-defaults-in-php-86-a-four-year-old-restriction-finally-lifts>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-10-12T10:30:50Z

Content type: article

Language: en

Sources: [Freek](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [extension property](<https://devfeed.tech/topics/extension-property.md>)

Tags: [php](<https://devfeed.tech/tags/php.md>), [php-8-6](<https://devfeed.tech/tags/php-8-6.md>), [php8](<https://devfeed.tech/tags/php8.md>), [property](<https://devfeed.tech/tags/property.md>), [readonly](<https://devfeed.tech/tags/readonly.md>), [rfc](<https://devfeed.tech/tags/rfc.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

## AI overview

An overview of PHP 8.6's readonly property defaults RFC, including the reason for the previous restriction, the role of interface properties in revisiting it, and practical edge cases.

## Source excerpt

A clear overview of PHP 8.6's readonly property defaults RFC, why the old restriction existed, and why interface properties made it worth revisiting. It also covers the practical edge cases, so you know where the new syntax helps and where it still does not. Read more