Home
last modified time | relevance | path

Searched refs:ReflectionParameter (Results 1 – 25 of 57) sorted by relevance

123

/PHP-8.0/ext/reflection/tests/
H A DReflectionParameter_invalidMethodInConstructor.phpt2 ReflectionParameter::__construct(): Invalid method as constructor
8 new ReflectionParameter (array ('A', 'b'), 0);
13 new ReflectionParameter (array ('C', 'b'), 0);
18 new ReflectionParameter (array (new C, 'b'), 0);
26 new ReflectionParameter(array ('A', 'b'));
33 new ReflectionParameter(0, 0);
46 Ok - ReflectionParameter::__construct() expects exactly 2 arguments, 1 given
47 Ok - ReflectionParameter::__construct(): Argument #1 ($function) must be a string, an array(class, …
H A Dclosures_001.phpt29 $rp = new ReflectionParameter(array($closure, '__invoke'), 0);
31 $rp = new ReflectionParameter(array($closure, '__invoke'), 1);
33 $rp = new ReflectionParameter(array($closure, '__invoke'), 'a');
35 $rp = new ReflectionParameter(array($closure, '__invoke'), 'b');
40 $rp = new ReflectionParameter($closure, 0);
42 $rp = new ReflectionParameter($closure, 1);
44 $rp = new ReflectionParameter($closure, 'a');
46 $rp = new ReflectionParameter($closure, 'b');
H A Dparameters_002.phpt2 ReflectionParameter::getClass(), getDeclaringClass(), getDeclaringFunction()
81 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
85 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
94 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
98 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
107 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
111 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
124 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
137 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
150 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
[all …]
H A Dparameters_001.phpt2 ReflectionParameter Check for parameter being optional
16 $p = new ReflectionParameter(array('Test', 'func'), 'x');
19 $p = new ReflectionParameter(array('Test', 'func'), 'y');
23 $p = new ReflectionParameter(array('Test', 'func'), 'z');
29 $p = new ReflectionParameter(array('Test', 'func'), -1);
42 string(91) "ReflectionParameter::__construct(): Argument #2 ($param) must be greater than or equal …
H A DReflectionClass_isArray.phpt2 public bool ReflectionParameter::isArray ( void );
17 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
20 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
23 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
26 Deprecated: Method ReflectionParameter::isArray() is deprecated in %s on line %d
H A Dbug39884.phpt2 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self)
15 $refParam = new ReflectionParameter(array('stubParamTest', 'paramTest'), 'param');
19 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
H A DReflectionParameter_002.phpt2 ReflectionParameter class - isPassedByReferenceMethod()
54 object(ReflectionParameter)#%i (1) {
60 object(ReflectionParameter)#%i (1) {
68 object(ReflectionParameter)#%i (1) {
74 object(ReflectionParameter)#%i (1) {
H A DReflectionParameter_003.phpt2 ReflectionParameter class - isOptional, isDefaultValueAvailable and getDefaultValue methods.
62 object(ReflectionParameter)#%d (1) {
69 object(ReflectionParameter)#%d (1) {
76 object(ReflectionParameter)#%d (1) {
83 object(ReflectionParameter)#%d (1) {
H A DReflectionParameter_001.phpt2 ReflectionParameter class - getNames() method.
59 object(ReflectionParameter)#%i (1) {
64 object(ReflectionParameter)#%i (1) {
71 object(ReflectionParameter)#%i (1) {
H A DReflectionParameter_ctor_cast.phpt2 Test method name string cast in ReflectionParameter ctor
8 new ReflectionParameter([
H A DReflectionParameter_export_basic.phpt2 ReflectionParameter::__toString()
12 echo new ReflectionParameter('ReflectionParameterTest', $key), "\n";
H A Dclosures_002.phpt15 $rp = new ReflectionParameter(array(new Test, '__invoke'), 0);
18 $rp = new ReflectionParameter(array(new Test, '__invoke'), 1);
H A D009.phpt93 object(ReflectionParameter)#2 (1) {
98 object(ReflectionParameter)#3 (1) {
103 object(ReflectionParameter)#4 (1) {
H A D025.phpt93 object(ReflectionParameter)#2 (1) {
98 object(ReflectionParameter)#3 (1) {
103 object(ReflectionParameter)#4 (1) {
H A Dbug72661.phpt7 var_dump((string)(new ReflectionParameter("test", 0))->getType());
H A DReflectionExtension_getClasses_basic.phpt42 ["ReflectionParameter"]=>
45 string(19) "ReflectionParameter"
H A Dconstructor_promotion.phpt27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y');
29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z');
H A Dbug60357.phpt6 $r = new ReflectionParameter( 'foo', 0 );
H A Ddefault_value_leak.phpt10 $rp = new ReflectionParameter(['Test', 'method'], 'param');
H A DReflectionParameter_getPosition_basic.phpt2 ReflectionParameter::getPosition()
/PHP-8.0/ext/spl/tests/
H A Dbug68479.phpt14 object(ReflectionParameter)#2 (1) {
19 object(ReflectionParameter)#3 (1) {
24 object(ReflectionParameter)#4 (1) {
29 object(ReflectionParameter)#5 (1) {
H A Dbug60201.phpt14 object(ReflectionParameter)#%d (1) {
19 object(ReflectionParameter)#%d (1) {
24 object(ReflectionParameter)#%d (1) {
/PHP-8.0/ext/reflection/
H A Dphp_reflection_arginfo.h640 ZEND_METHOD(ReflectionParameter, __toString);
641 ZEND_METHOD(ReflectionParameter, getName);
646 ZEND_METHOD(ReflectionParameter, getClass);
647 ZEND_METHOD(ReflectionParameter, hasType);
648 ZEND_METHOD(ReflectionParameter, getType);
649 ZEND_METHOD(ReflectionParameter, isArray);
650 ZEND_METHOD(ReflectionParameter, isCallable);
651 ZEND_METHOD(ReflectionParameter, allowsNull);
653 ZEND_METHOD(ReflectionParameter, isOptional);
658 ZEND_METHOD(ReflectionParameter, isVariadic);
[all …]
/PHP-8.0/Zend/tests/type_declarations/
H A Dcallable_002.phpt24 Deprecated: Method ReflectionParameter::isCallable() is deprecated in %s on line %d
27 Deprecated: Method ReflectionParameter::isCallable() is deprecated in %s on line %d
30 Deprecated: Method ReflectionParameter::isCallable() is deprecated in %s on line %d
/PHP-8.0/ext/date/tests/
H A Dbug70266.phpt5 var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());

Completed in 26 milliseconds

123