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.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to