mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
11 lines
171 B
PHP
11 lines
171 B
PHP
--TEST--
|
|
Bug #65969 (Chain assignment with T_LIST failure)
|
|
--FILE--
|
|
<?php
|
|
$obj = new stdClass;
|
|
list($a,$b) = $obj->prop = [1,2];
|
|
var_dump($a,$b);
|
|
--EXPECT--
|
|
int(1)
|
|
int(2)
|