[RFC] Body-less methods
| From: | ROX | Date: | Mon, 23 May 2022 14:48:59 +0000 |
| Subject: | [RFC] Body-less methods | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-117771@lists.php.net to get a copy of this message | ||
Hello there.
I would intend a proposal about body-less methods.
You can read RFC draft here: https://github.com/php/php-src/issues/8420
The similar topic about body-less constructors was discussed a year
ago (https://externals.io/message/114324).
There wasn't consensus in the discussion and RFC has not been created.
My proposal describes the ability to make body-less methods and constructors.
I focus on Developer eXperience and language consistency.
I made an implementation and I am ready to update it on RFC changes.
Also I need RFC carma to move it in the PHP wiki.
Feedback is welcome. Thank you.