Re: [RFC] Explicit call-site send-by-ref syntax
| From: | Andreas Hennings | Date: | Sun, 10 Dec 2017 21:41:08 +0000 |
| Subject: | Re: [RFC] Explicit call-site send-by-ref syntax | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101295@lists.php.net to get a copy of this message | ||
On 7 December 2017 at 03:04, Stanislav Malyshev <smalyshev@gmail.com> wrote:
>
> All this to achieve no other benefit but a purely cosmetic one which a
> good IDE could easily deliver to you for free without changing language
> syntax. I do not think it is worth it.
>
I agree with Stanislav, this should be the IDE's job.
PhpStorm can already show parameter name hints in function calls. It could
easily add a feature to show if a parameter is by-reference.
In fact I will request this as we speak :)