Question about adding !function_identifier
| From: | M. W. Moe | Date: | Thu, 04 Apr 2019 03:34:21 +0000 |
| Subject: | Question about adding !function_identifier | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-105067@lists.php.net to get a copy of this message | ||
Hello @Stephen Reay,
yes I have that in my, I was thinking about reusing the
throw keyword and
re-contextualizing it à la use
function handle(int $cmd, ...$args) : int throw(legit, error) /*
Throws only those else triggers runtime error */
{ return -1; }
function handle(int $cmd, ...$args) : int throw(true) /* Throws any */
{ return -1; }
function handle(int $cmd, ...$args) : int throw(false) /* Triggers
warning, auto-catch */
{ return -1; }
but unfortunately better forking php4.3 than actual and only re-introducing
what's is usable and discarding the rest mostly all the php5 impurities;
hence you can conceive; I would have to face the clerics of this false
religion; I have something else to do in life!
Best.