Add "die()" as an option to exit a function with return typ "never"
There was only the exit() function mentioned.
Hmm, according to the docs:
This language construct is equivalent to exit().
IMO, there is no need to explicitly mention die() here.
Yeah, I know it's a function/construct with the same output, but at the same time, it's also another way to stop the execution of the script. I think it should be listed to not raise doubts about whether are these two functions really the same.
I'm not really a fan of this, die is akin to an alias of exit.
That's unnecessary. If you really insist then something like exit/die would look better, but since it's the exact same language construct, I don't think it's needed at all.
Since there is no interest in listing the alias, should this PR be closed?
Yeah, this PR should be closed. Nonetheless, thanks for working on this, @ShadyMedic!