[php-src] PR #24034: [RFC] Add array variable shorthand with :$name
| From: | LamentXU123 | Date: | Thu, 01 Oct 2026 07:08:03 +0000 |
| Subject: | [php-src] PR #24034: [RFC] Add array variable shorthand with :$name | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39023@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24034
Author: LamentXU123
This implement: https://wiki.php.net/rfc/array_shorthand
This use
: in the syntax not = but just simply replace : with
= in parser compiles successfully and passes all tests.