Lines Matching refs:fn
9 $fn = fn() => 42;
10 $r = new ReflectionFunction($fn);
13 $fn = fn() => $this;
14 var_dump($fn());
16 $fn = fn() => Test::method2();
17 $fn();
19 $fn = fn() => call_user_func('Test::method2');
20 $fn();
23 $fn = fn() => $$thisName;
24 var_dump($fn());
26 $fn = fn() => self::class;
27 var_dump($fn());
30 $fn = static fn() => isset($this);
31 var_dump($fn());