Home
last modified time | relevance | path

Searched refs:getClosure (Results 1 – 17 of 17) sorted by relevance

/PHP-5.5/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 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 DReflectionFunction_getClosure_error.phpt2 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 DReflectionFunction_getClosure_basic.phpt2 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 DReflectionMethod_getClosure_basic.phpt2 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 Dclosures_004.phpt2 Reflection on closures: Segfault with getClosure() on closure itself
9 $closure2 = $method->getClosure ();
22 $closure2 = $method->getClosure ($closure);
H A Dbug67068.phpt2 Bug #67068 (ReflectionFunction::getClosure returns something that doesn't report as a closure)
11 $closure = $reflector->getClosure($object);
H A DReflectionFunction_getClosureScopeClass.phpt16 public static function getClosure() {
21 $closure = A::getClosure();
H A DReflectionMethod_getClosureThis.phpt34 $closure = $method->getClosure();
41 $closure = $method->getClosure( $object );
/PHP-5.5/Zend/tests/
H A Dclosure_037.phpt8 function getClosure () {
33 $closure = $a->getClosure();
36 $closure = $b->getClosure();
H A Dclosure_006.phpt6 $getClosure = function ($v) {
12 $closure = $getClosure (2);
H A Dclosure_007.phpt24 $getClosure = $a->getClosureGetter();
26 $closure = $getClosure();
H A Dclosure_044.phpt12 function getClosure() {
18 $nonstaticScoped = $a->getClosure();
H A Dclosure_046.phpt14 function getClosure() {
21 $nonstaticScoped = $a->getClosure();
H A Dclosure_041.phpt22 function getClosure() {
39 $nonstaticScoped = $a->getClosure();
/PHP-5.5/ext/spl/tests/
H A Dspl_autoload_bug48541.phpt7 public function getClosure() {
18 $a2 = $x->getClosure();
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c1742 ZEND_METHOD(reflection_function, getClosure) in ZEND_METHOD() argument
2783 ZEND_METHOD(reflection_method, getClosure) in ZEND_METHOD() argument
5750 ZEND_ME(reflection_function, getClosure, arginfo_reflection__void, 0)
5795 ZEND_ME(reflection_method, getClosure, arginfo_reflection_method_getClosure, 0)
/PHP-5.5/
H A DNEWS623 . Fixed bug #67068 (getClosure returns somethings that's not a closure).

Completed in 61 milliseconds