xref: /PHP-7.1/Zend/tests/bug65969.phpt (revision 16d59aa1)
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--EXPECT--
9int(1)
10int(2)
11