Re: RFC: Single-Expression functions
| From: | tovilo.ilija | Date: | Mon, 26 May 2025 20:05:25 +0000 |
| Subject: | Re: RFC: Single-Expression functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127468@lists.php.net to get a copy of this message | ||
Hi Dmitry
Thanks for your interest in improving PHP.
On Thu, May 22, 2025 at 11:25 AM Dmitry Derepko <xepozzd@gmail..com> wrote:
>
> https://wiki.php.net/rfc/single-expression-functions
In the "Single-Expression functions in other languages" section, at least the Rust and
Swift examples are wrong, as such a syntax does not exist for either of them. In case you got this
info from an LLM, you should always fact-check whatever an AI tells you.
Ilija