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

1.1     ! misho       1: --TEST--
        !             2: Bug #52060 (Memory leak when passing a closure to method_exists())
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $closure = function($a) { echo $a; };
        !             7: 
        !             8: var_dump(method_exists($closure, '__invoke')); // true
        !             9: 
        !            10: ?>
        !            11: --EXPECT--
        !            12: bool(true)

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