Re: Local constants
| From: | Rob Landers | Date: | Wed, 04 Sep 2024 19:23:13 +0000 |
| Subject: | Re: Local constants | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125420@lists.php.net to get a copy of this message | ||
On Tue, Sep 3, 2024, at 05:20, HwapX wrote:
> Hello internals!
>
> I was wondering, has there been any discussion about supporting local constants (variables that
> cannot be reassigned, perhaps even function parameters)?
Out of curiosity, what value would this bring to PHP? In my experience, modern php methods and
functions tend to fit on a single screen, at most being a few hundred lines for complex logic.
— Rob