Searched refs:ReflectionFunction (Results 1 – 25 of 102) sorted by relevance
12345
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionFunction_construct.001.phpt | 2 ReflectionFunction constructor errors 10 $a = new ReflectionFunction(array(1, 2, 3)); 16 $a = new ReflectionFunction('nonExistentFunction'); 21 $a = new ReflectionFunction(); 26 $a = new ReflectionFunction(1, 2); 31 $a = new ReflectionFunction([]); 38 Ok - ReflectionFunction::__construct(): Argument #1 ($function) must be of type Closure|string, arr… 40 Ok - ReflectionFunction::__construct() expects exactly 1 argument, 0 given 41 Ok - ReflectionFunction::__construct() expects exactly 1 argument, 2 given 42 Ok - ReflectionFunction::__construct(): Argument #1 ($function) must be of type Closure|string, arr…
|
H A D | ReflectionFunction_getClosure_basic.phpt | 2 Test ReflectionFunction::getClosure() function : basic functionality 5 echo "*** Testing ReflectionFunction::getClosure() : basic functionality ***\n"; 17 $func = new ReflectionFunction( 'foo' ); 21 $func = new ReflectionFunction( 'bar' ); 27 *** Testing ReflectionFunction::getClosure() : basic functionality ***
|
H A D | ReflectionFunction_isVariadic_basic.phpt | 2 ReflectionFunction::isVariadic() 10 var_dump((new ReflectionFunction('test1'))->isVariadic()); 11 var_dump((new ReflectionFunction('test2'))->isVariadic()); 12 var_dump((new ReflectionFunction('test3'))->isVariadic());
|
H A D | ReflectionFunction_isGenerator_basic.phpt | 2 ReflectionFunction::isGenerator() 11 $rf1 = new ReflectionFunction($closure1); 14 $rf2 = new ReflectionFunction($closure2); 25 $rf1 = new ReflectionFunction('func1'); 28 $rf2 = new ReflectionFunction('func2');
|
H A D | ReflectionFunction_isDisabled_basic.phpt | 2 ReflectionFunction::isDisabled 11 $rf = new ReflectionFunction('is_file'); 17 $rf = new ReflectionFunction('is_string'); 23 Deprecated: Method ReflectionFunction::isDisabled() is deprecated in %s on line %d
|
H A D | ReflectionFunction_getExtensionName.phpt | 2 ReflectionFunction::getExtensionName() 7 $function = new ReflectionFunction('sort'); 10 $function = new ReflectionFunction('foo');
|
H A D | ReflectionFunction_getExtension.phpt | 2 ReflectionFunction::getExtension() 7 $function = new ReflectionFunction('sort'); 10 $function = new ReflectionFunction('foo');
|
H A D | bug49092.phpt | 2 Bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces) 7 new \ReflectionFunction('ns\func'); 8 new \ReflectionFunction('\ns\func');
|
H A D | bug48757.phpt | 2 Bug #48757 (ReflectionFunction::invoke() parameter issues) 13 $func = new ReflectionFunction('test'); 16 $func = new ReflectionFunction('another_test');
|
H A D | ReflectionFunction_getClosureCalledClass.phpt | 34 $r = new \ReflectionFunction($d); 40 $r = new \ReflectionFunction($d); 46 $r = new \ReflectionFunction($d); 52 $r = new \ReflectionFunction($d); 58 $r = new \ReflectionFunction($d); 64 $r = new \ReflectionFunction($d); 71 $r = new \ReflectionFunction($d);
|
H A D | ReflectionParameter_isVariadic_basic.phpt | 10 $r1 = new ReflectionFunction('test1'); 11 $r2 = new ReflectionFunction('test2'); 12 $r3 = new ReflectionFunction('test3');
|
H A D | ReflectionFunction_getNamespaceName.phpt | 2 ReflectionFunction::getNamespaceName() 8 $function = new \ReflectionFunction('sort'); 14 $function = new \ReflectionFunction('A\\B\\foo');
|
H A D | 019.phpt | 2 ReflectionFunction::getExtensionName 5 $f = new ReflectionFunction("sleep");
|
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 | bug70960.phpt | 2 Bug #70960 (ReflectionFunction for array_unique returns wrong number of parameters) 6 $ref = new ReflectionFunction('array_unique');
|
H A D | bug71767.phpt | 36 $reflectionFunction = new ReflectionFunction('foo'); 38 $reflectionClosure = new ReflectionFunction($func); 39 $reflectionArrowFn = new ReflectionFunction($func2);
|
H A D | ReflectionFunction_isDeprecated_basic.phpt | 2 ReflectionFunction::isDeprecated 9 $rc = new ReflectionFunction('var_dump');
|
/PHP-8.0/Zend/tests/attributes/ |
H A D | 006_filter.phpt | 6 $ref = new \ReflectionFunction(#[A1] #[A2] function () { }); 11 $ref = new \ReflectionFunction(#[A1] #[A2] function () { }); 16 $ref = new \ReflectionFunction(#[A1] #[A2] #[A2] function () { }); 28 $ref = new \ReflectionFunction(#[A1] #[A2] #[A5] function () { }); 33 $ref = new \ReflectionFunction(#[A1] #[A2] function () { }); 38 $ref = new \ReflectionFunction(#[A1] #[A2] function () { }); 43 $ref = new \ReflectionFunction(#[A1] #[A2] #[A3] function () { }); 48 $ref = new \ReflectionFunction(#[A1] #[A2] #[A3] function () { }); 55 $ref = new \ReflectionFunction(function () { }); 63 $ref = new \ReflectionFunction(function () { });
|
H A D | gh8421.phpt | 43 var_dump((new ReflectionFunction($globalClosure))->getAttributes(FunctionAttribute::class)[0]->newI… 44 var_dump((new ReflectionFunction($globalStaticClosure))->getAttributes(FunctionAttribute::class)[0]… 45 var_dump((new ReflectionFunction(ClosureHolder::getClosureDefinedInScopeStatically()))->getAttribut… 46 var_dump((new ReflectionFunction(ClosureHolder::getStaticClosureDefinedInScopeStatically()))->getAt… 50 var_dump((new ReflectionFunction($holder->getClosureDefinedInScope()))->getAttributes(FunctionAttri… 51 var_dump((new ReflectionFunction($holder->getStaticClosureDefinedInScope()))->getAttributes(Functio…
|
H A D | 028_grouped.phpt | 23 new \ReflectionFunction('foo'), 24 new \ReflectionFunction('bar'), 45 string(18) "ReflectionFunction" 51 string(18) "ReflectionFunction"
|
H A D | 001_placement.phpt | 38 new \ReflectionFunction('f1'), 39 new \ReflectionFunction($f2), 40 new \ReflectionFunction($f3) 112 string(18) "ReflectionFunction" 120 string(18) "ReflectionFunction" 128 string(18) "ReflectionFunction"
|
H A D | 005_objects.phpt | 19 $ref = new \ReflectionFunction(#[A1('test')] function () { }); 29 $ref = new \ReflectionFunction(#[A1] function () { }); 39 $ref = new \ReflectionFunction(#[A1([])] function () { }); 49 $ref = new \ReflectionFunction(#[A2] function () { }); 65 $ref = new \ReflectionFunction(#[A3] function () { }); 78 $ref = new \ReflectionFunction(#[A4(1)] function () { }); 90 $ref = new \ReflectionFunction(#[A5] function () { });
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | bug74737.phpt | 2 Bug #74737: Incorrect ReflectionFunction information for mysqli_get_client_info 10 $rf = new ReflectionFunction('mysqli_get_client_info');
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug74031.phpt | 2 (Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters 10 $ref = new ReflectionFunction('imagepng');
|
/PHP-8.0/ext/standard/tests/random/ |
H A D | reflection.phpt | 5 $rf = new ReflectionFunction('random_bytes'); 9 $rf = new ReflectionFunction('random_int');
|
Completed in 21 milliseconds
12345