On Wed, Mar 10, 2021 at 7:07 PM Matthew Brown <matthewmatt...@gmail.com> wrote:
> Hey, > > Ondřej Mirtes and I present an RFC for the noreturn type: > https://wiki.php.net/rfc/noreturn_type > > The feature already exists in Hack (the primary inspiration) and is > currently supported by our static analysis tools inside docblocks, and we > feel there's a good argument for it to be supported by PHP itself. > > Thanks, > > Matt & Ondřej > Is it allowed to declare a noreturn function that returns by reference? function &foo(): noreturn {} Regards, Nikita