[GIT-PULLS] [php-src] PR #23268: Fix GH-17773: Array element initialised by reference returned from a function
[email protected] (matthiasgoergens)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23268 Author: matthiasgoergens Initialising an array element with a reference returned by a function, e.g. `[&foo()]`, is rejected at compile time although ordinary reference assignment accepts it. Allow user-function call results in this source position while keeping the remaining source-side safeguards of reference assignment.