Re: Return When
| From: | Jorg Sowa | Date: | Wed, 04 Dec 2024 19:46:33 +0000 |
| Subject: | Re: Return When | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126103@lists.php.net to get a copy of this message | ||
Hey Volodymyr,
You can already write:
$success or throw new Exception('I am here');
Honestly, I don't see a good reason to introduce another syntax to do the
same thing.
Kind regards,
Jorg Sowa