xref: /PHP-8.4/Zend/tests/bug65969.phpt (revision f39b5c4c)
1--TEST--
2Bug #65969 (Chain assignment with T_LIST failure)
3--FILE--
4<?php
5$obj = new stdClass;
6list($a,$b) = $obj->prop = [1,2];
7var_dump($a,$b);
8?>
9--EXPECT--
10int(1)
11int(2)
12