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

1.1     ! misho       1: --TEST--
        !             2: Bug #37707 (clone without assigning leaks memory)
        !             3: --FILE--
        !             4: <?php
        !             5: class testme {
        !             6:        function __clone() {
        !             7:                echo "clonned\n";
        !             8:        }
        !             9: }
        !            10: clone new testme();
        !            11: echo "NO LEAK\n";
        !            12: ?>
        !            13: --EXPECT--
        !            14: clonned
        !            15: NO LEAK
        !            16: 

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