Home
last modified time | relevance | path

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

12345678910>>...17

/dports/lang/php73/php-7.3.33/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 ***
/dports/lang/php74/php-7.4.27/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_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 ***
/dports/www/mod_php73/php-7.3.33/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 ***
/dports/www/mod_php74/php-7.4.27/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_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 ***
/dports/lang/php73/php-7.3.33/Zend/tests/
H A Dclosure_061.phpt2 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 …]
/dports/www/mod_php73/php-7.3.33/Zend/tests/
H A Dclosure_061.phpt2 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 …]
/dports/www/mod_php81/php-8.1.1/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 Test ReflectionMethod::getClosure() function : error functionality
5 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 --
H A DReflectionFunction_getClosure_basic.phpt2 Test ReflectionFunction::getClosure() function : basic functionality
5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n";
18 $closure = $func->getClosure();
22 $closure = $func->getClosure();
27 *** Testing ReflectionFunction::getClosure() : basic functionality ***
H A DReflectionMethod_getClosure_basic.phpt2 Test ReflectionMethod::getClosure() function : basic functionality
5 echo "*** Testing ReflectionMethod::getClosure() : basic functionality ***\n";
32 $closure = $method->getClosure();
37 $closure = $method->getClosure( $object );
44 *** Testing ReflectionMethod::getClosure() : basic functionality ***
/dports/lang/php80/php-8.0.15/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 Test ReflectionMethod::getClosure() function : error functionality
5 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 --
H A DReflectionFunction_getClosure_basic.phpt2 Test ReflectionFunction::getClosure() function : basic functionality
5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n";
18 $closure = $func->getClosure();
22 $closure = $func->getClosure();
27 *** Testing ReflectionFunction::getClosure() : basic functionality ***
/dports/lang/php81/php-8.1.1/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 Test ReflectionMethod::getClosure() function : error functionality
5 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 --
H A DReflectionFunction_getClosure_basic.phpt2 Test ReflectionFunction::getClosure() function : basic functionality
5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n";
18 $closure = $func->getClosure();
22 $closure = $func->getClosure();
27 *** Testing ReflectionFunction::getClosure() : basic functionality ***
/dports/www/mod_php80/php-8.0.15/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt2 Test ReflectionMethod::getClosure() function : error functionality
5 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 --
H A DReflectionFunction_getClosure_basic.phpt2 Test ReflectionFunction::getClosure() function : basic functionality
5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n";
18 $closure = $func->getClosure();
22 $closure = $func->getClosure();
27 *** Testing ReflectionFunction::getClosure() : basic functionality ***

12345678910>>...17