Annotation of embedaddon/php/ext/spl/tests/SplObjectStorage_var_dump.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: SPL: SplObjectStorage: recursive var_dump
        !             3: --FILE--
        !             4: <?php
        !             5: $o = new SplObjectStorage();
        !             6: 
        !             7: $o[new StdClass] = $o;
        !             8: 
        !             9: var_dump($o);
        !            10: --EXPECTF--
        !            11: object(SplObjectStorage)#%d (1) {
        !            12:   ["storage":"SplObjectStorage":private]=>
        !            13:   array(1) {
        !            14:     ["%s"]=>
        !            15:     array(2) {
        !            16:       ["obj"]=>
        !            17:       object(stdClass)#%d (0) {
        !            18:       }
        !            19:       ["inf"]=>
        !            20:       *RECURSION*
        !            21:     }
        !            22:   }
        !            23: }

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