Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for new MyClass()->method() without parentheses #3978

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

cookieguru
Copy link
Contributor

New feature in core mentioned in #3872

https://wiki.php.net/rfc/new_without_parentheses

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thank you! See comment below; otherwise this is good (it seems that this syntax is not mentioned anywhere else).

language/oop5/basic.xml Outdated Show resolved Hide resolved
Co-authored-by: Christoph M. Becker <[email protected]>
@cmb69 cmb69 merged commit 1d92bcc into php:master Oct 31, 2024
2 checks passed
@cmb69
Copy link
Member

cmb69 commented Oct 31, 2024

Thank you!

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.

2 participants