<?php class A { public static function b() { echo static::class; } } class B extends A { } $c = ['B', 'b']; $d = \Closure::fromCallable($c); $r = new \ReflectionFunction($d); var_dump($r->getClosureScopeClass()); $d();
You have javascript disabled. You will not be able to edit any code.