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

1.1     ! misho       1: --TEST--
        !             2: Closure 023: Closure declared in statically called method
        !             3: --FILE--
        !             4: <?php
        !             5: class foo {
        !             6:     public static function bar() {
        !             7:         $func = function() { echo "Done"; };
        !             8:         $func();
        !             9:     }
        !            10: }
        !            11: foo::bar();
        !            12: --EXPECT--
        !            13: Done
        !            14: 

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