History log of /php-src/Zend/tests/gh11320_2.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 8ed66b43 25-May-2023 Ilija Tovilo

Add tests for list() in assignment in array literals

Array literals will constant evaluate their elements. These can include
assignments, even though these are not valid constant express

Add tests for list() in assignment in array literals

Array literals will constant evaluate their elements. These can include
assignments, even though these are not valid constant expressions. The lhs of
assignments can be a list() element (or []) which is parsed as an array with a
special flag.

show more ...