Annotation of embedaddon/php/Zend/tests/list_002.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Testing full-reference on list()
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: error_reporting(E_ALL);
        !             7: 
        !             8: $a = new stdclass;
        !             9: $b =& $a;
        !            10: 
        !            11: list($a, list($b)) = array($a, array($b));
        !            12: var_dump($a, $b, $a === $b);
        !            13: 
        !            14: ?>
        !            15: --EXPECT--
        !            16: object(stdClass)#1 (0) {
        !            17: }
        !            18: object(stdClass)#1 (0) {
        !            19: }
        !            20: bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>