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

1.1     ! misho       1: --TEST--
        !             2: Bug #61828 (Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice)
        !             3: --FILE--
        !             4: <?php
        !             5: $x = new DirectoryIterator('.');
        !             6: $x->__construct('/tmp');
        !             7: echo "Okey";
        !             8: ?>
        !             9: --EXPECTF--
        !            10: Warning: DirectoryIterator::__construct(): Directory object is already initialized in %sbug61828.php on line 3
        !            11: Okey

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