Searched refs:getClosure (Results 1 – 24 of 24) sorted by relevance
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionMethod_getClosure_error.phpt | 2 Test ReflectionMethod::getClosure() function : error functionality 5 /* Prototype : public mixed ReflectionFunction::getClosure() 11 echo "*** Testing ReflectionMethod::getClosure() : error conditions ***\n"; 39 var_dump( $staticmethod->getClosure( 'foobar' ) ); 40 var_dump( $staticmethod->getClosure( 'foo', 'bar' ) ); 41 var_dump( $method->getClosure( $object, 'foobar' ) ); 44 $closure = $method->getClosure(); 48 var_dump( $method->getClosure( $fakeobj ) ); 56 *** Testing ReflectionMethod::getClosure() : error conditions *** 67 -- Testing ReflectionMethod::getClosure() function with Zero arguments -- [all …]
|
H A D | ReflectionFunction_getClosure_error.phpt | 2 Test ReflectionFunction::getClosure() function : error functionality 5 /* Prototype : public mixed ReflectionFunction::getClosure() 11 echo "*** Testing ReflectionFunction::getClosure() : error conditions ***\n"; 19 $closure = $func->getClosure('bar'); 24 *** Testing ReflectionFunction::getClosure() : error conditions *** 26 Warning: ReflectionFunction::getClosure() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | ReflectionFunction_getClosure_basic.phpt | 2 Test ReflectionFunction::getClosure() function : basic functionality 5 /* Prototype : public mixed ReflectionFunction::getClosure() 11 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n"; 24 $closure = $func->getClosure(); 28 $closure = $func->getClosure(); 34 *** Testing ReflectionFunction::getClosure() : basic functionality ***
|
H A D | ReflectionMethod_getClosure_basic.phpt | 2 Test ReflectionMethod::getClosure() function : basic functionality 5 /* Prototype : public mixed ReflectionFunction::getClosure() 11 echo "*** Testing ReflectionMethod::getClosure() : basic functionality ***\n"; 38 $closure = $method->getClosure(); 43 $closure = $method->getClosure( $object ); 51 *** Testing ReflectionMethod::getClosure() : basic functionality ***
|
H A D | closures_004.phpt | 2 Reflection on closures: Segfault with getClosure() on closure itself 9 $closure2 = $method->getClosure (); 22 $closure2 = $method->getClosure ($closure);
|
H A D | bug70674.phpt | 2 Bug #70674 (ReflectionFunction::getClosure() leaks memory when used for internal functions) 5 var_dump(((new ReflectionFunction("strlen"))->getClosure())("hello"));
|
H A D | bug67068.phpt | 2 Bug #67068 (ReflectionFunction::getClosure returns something that doesn't report as a closure) 11 $closure = $reflector->getClosure($object);
|
H A D | ReflectionFunction_getClosureScopeClass.phpt | 14 public static function getClosure() { 19 $closure = A::getClosure();
|
H A D | ReflectionMethod_getClosureThis.phpt | 32 $closure = $method->getClosure(); 39 $closure = $method->getClosure( $object );
|
H A D | bug66430.phpt | 21 $closure = $method->getClosure($alpha);
|
/PHP-7.2/Zend/tests/ |
H A D | bug70685.phpt | 2 Bug #70685: Segfault for getClosure() internal method rebind with invalid $this 8 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); 12 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); 21 Warning: Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() in %s o…
|
H A D | bug70630.phpt | 2 Bug #70630 (Closure::call/bind() crash with ReflectionFunction->getClosure()) 6 $x = (new ReflectionFunction("substr"))->getClosure(); 10 Warning: Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() in %s o…
|
H A D | closure_061.phpt | 2 Rebinding of ::getClosure()s 85 $c = $r->getClosure(is_object($fn[0]) ? $fn[0] : null); 88 $c = (new ReflectionFunction($fn))->getClosure(); 121 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 124 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 142 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 145 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 166 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 169 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() 172 Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() [all …]
|
H A D | closure_037.phpt | 8 function getClosure () { 33 $closure = $a->getClosure(); 36 $closure = $b->getClosure();
|
H A D | closure_006.phpt | 6 $getClosure = function ($v) { 12 $closure = $getClosure (2);
|
H A D | closure_007.phpt | 24 $getClosure = $a->getClosureGetter(); 26 $closure = $getClosure();
|
H A D | bug70681.phpt | 6 $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); 9 $c = (new ReflectionFunction('strlen'))->getClosure();
|
H A D | bug69802_2.phpt | 5 $f = (new ReflectionFunction('iterator_to_array'))->getClosure();
|
H A D | bug75290.phpt | 6 var_dump((new ReflectionFunction('sin'))->getClosure());
|
H A D | closure_046.phpt | 14 function getClosure() { 21 $nonstaticScoped = $a->getClosure();
|
H A D | closure_044.phpt | 12 function getClosure() { 18 $nonstaticScoped = $a->getClosure();
|
H A D | closure_041.phpt | 22 function getClosure() { 39 $nonstaticScoped = $a->getClosure();
|
/PHP-7.2/ext/spl/tests/ |
H A D | spl_autoload_bug48541.phpt | 7 public function getClosure() { 18 $a2 = $x->getClosure();
|
/PHP-7.2/ext/reflection/ |
H A D | php_reflection.c | 1701 ZEND_METHOD(reflection_function, getClosure) in ZEND_METHOD() argument 3095 ZEND_METHOD(reflection_method, getClosure) in ZEND_METHOD() argument 6307 ZEND_ME(reflection_function, getClosure, arginfo_reflection__void, 0) 6371 ZEND_ME(reflection_method, getClosure, arginfo_reflection_method_getClosure, 0)
|
Completed in 53 milliseconds