Skip to content

Conversation

devojifr
Copy link
Contributor

@devojifr devojifr commented Sep 2, 2024

The magic __set method can add a dynamic property.

@devojifr devojifr force-pushed the property-access-set-dynamic-property branch from c78e325 to 637715c Compare September 3, 2024 13:55
@xabbuh
Copy link
Member

xabbuh commented Sep 4, 2024

I wouldn’t consider creating properties at runtime a good practice. Thus I would rather not like to add this.

@OskarStark
Copy link
Contributor

I agree, thanks for proposing!

@OskarStark OskarStark closed this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants