Skip to content

Clarify PHP 8.6 readonly property defaults example - #2088

Closed
mbeccati wants to merge 1 commit into
php:masterfrom
mbeccati:readonly-default-example
Closed

mbeccati wants to merge 1 commit into
php:masterfrom
mbeccati:readonly-default-example

Conversation

@mbeccati

Copy link
Copy Markdown
Contributor

IMHO two example classes convey much better the usefulness of the feature

@TimWolla TimWolla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I agree. This greatly increases the space consumption for the arguably least important of the headline features.

@mbeccati

Copy link
Copy Markdown
Contributor Author

I'm not sure I agree. This greatly increases the space consumption for the arguably least important of the headline features.

Fair enough. As it to me it's not even headline material ;-)

@derickr

derickr commented Nov 19, 2026

Copy link
Copy Markdown
Member

Maybe we should close this PR then? @mbeccati ?

@mbeccati mbeccati closed this Nov 19, 2026
@mbeccati
mbeccati deleted the readonly-default-example branch November 19, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants