Re: [RFC][Discussion] use construct (Block Scoping)
| From: | Morgan | Date: | Thu, 11 Dec 2025 23:37:06 +0000 |
| Subject: | Re: [RFC][Discussion] use construct (Block Scoping) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129590@lists.php.net to get a copy of this message | ||
On 2025-12-12 11:21, Rowan Tommins [IMSoP] wrote:
function foo() {Though this example is legal since 8.3.static $a = 1; // OK static $b = $a; // Fatal error: Constant expression contains invalid operations}