Searched refs:getClosure (Results 1 – 25 of 27) sorted by relevance
12
2 Test ReflectionFunction::getClosure() function : basic functionality5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n";18 $closure = $func->getClosure();22 $closure = $func->getClosure();27 *** Testing ReflectionFunction::getClosure() : basic functionality ***
2 Test ReflectionMethod::getClosure() function : error functionality5 echo "*** Testing ReflectionMethod::getClosure() : error conditions ***\n";32 echo "\n-- Testing ReflectionMethod::getClosure() function with invalid object --\n";34 var_dump( $method->getClosure( $fakeobj ) );41 *** Testing ReflectionMethod::getClosure() : error conditions ***43 -- Testing ReflectionMethod::getClosure() function with invalid object --
2 Test ReflectionMethod::getClosure() function : basic functionality5 echo "*** Testing ReflectionMethod::getClosure() : basic functionality ***\n";32 $closure = $method->getClosure();37 $closure = $method->getClosure( $object );44 *** Testing ReflectionMethod::getClosure() : basic functionality ***
2 Reflection on closures: Segfault with getClosure() on closure itself9 $closure2 = $method->getClosure ();22 $closure2 = $method->getClosure ($closure);
2 Bug #70674 (ReflectionFunction::getClosure() leaks memory when used for internal functions)5 var_dump(((new ReflectionFunction("strlen"))->getClosure())("hello"));
2 Bug #67068 (ReflectionFunction::getClosure returns something that doesn't report as a closure)11 $closure = $reflector->getClosure($object);
10 public static function getClosure() {15 $closure = A::getClosure();
28 $closure = $method->getClosure();35 $closure = $method->getClosure( $object );
21 $closure = $method->getClosure($alpha);
8 function getClosure () {33 $closure = $a->getClosure();36 $closure = $b->getClosure();
2 Bug #70685: Segfault for getClosure() internal method rebind with invalid $this8 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);12 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);
6 $getClosure = function ($v) {12 $closure = $getClosure (2);
2 Bug #70630 (Closure::call/bind() crash with ReflectionFunction->getClosure())6 $x = (new ReflectionFunction("substr"))->getClosure();
24 $getClosure = $a->getClosureGetter();26 $closure = $getClosure();
6 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack);9 $c = (new ReflectionFunction('strlen'))->getClosure();
6 var_dump((new ReflectionFunction('sin'))->getClosure());
5 $f = (new ReflectionFunction('iterator_to_array'))->getClosure();
14 function getClosure() {21 $nonstaticScoped = $a->getClosure();
17 var_dump($RF->getClosure()(4, 4));
12 function getClosure() {18 $nonstaticScoped = $a->getClosure();
2 Rebinding of ::getClosure()s85 $c = $r->getClosure(is_object($fn[0]) ? $fn[0] : null);88 $c = (new ReflectionFunction($fn))->getClosure();
22 function getClosure() {39 $nonstaticScoped = $a->getClosure();
10 function getClosure() {24 $gen = $gen((new C())->getClosure());
7 public function getClosure() {18 $a2 = $x->getClosure();
144 public function getClosure(): Closure {} function in ReflectionFunction232 public function getClosure(?object $object = null): Closure {} function in ReflectionMethod
Completed in 33 milliseconds