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

1.1     ! misho       1: --TEST--
        !             2: Closure 029: Testing lambda with instanceof operator
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: var_dump(function() { } instanceof closure);
        !             7: var_dump(function(&$x) { } instanceof closure);
        !             8: var_dump(@function(&$x) use ($y, $z) { } instanceof closure);
        !             9: 
        !            10: ?>
        !            11: --EXPECT--
        !            12: bool(true)
        !            13: bool(true)
        !            14: bool(true)

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