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