Home
last modified time | relevance | path

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

123

/PHP-8.2/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 DReflectionParameter_double_construct.phpt2 ReflectionParameter double construct call
7 $r = new ReflectionParameter($closure, 'x');
16 object(ReflectionParameter)#2 (1) {
20 object(ReflectionParameter)#2 (1) {
24 object(ReflectionParameter)#2 (1) {
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 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_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 DReflectionParameter_new_initializer.phpt2 ReflectionParameter::__toString() with new initializer
11 echo new ReflectionParameter('test', 'p1'), "\n";
12 echo new ReflectionParameter('test', 'p2'), "\n";
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 DReflectionParameter_getClass_self_parent_closure.phpt30 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
33 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
36 Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d
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 Dconstructor_promotion.phpt27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y');
29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z');
H A DReflectionExtension_getClasses_basic.phpt42 ["ReflectionParameter"]=>
45 string(19) "ReflectionParameter"
/PHP-8.2/ext/spl/tests/SplFileObject/
H A Dbug68479.phpt14 object(ReflectionParameter)#2 (1) {
19 object(ReflectionParameter)#3 (1) {
24 object(ReflectionParameter)#4 (1) {
29 object(ReflectionParameter)#5 (1) {
34 object(ReflectionParameter)#6 (1) {
H A Dbug60201.phpt14 object(ReflectionParameter)#%d (1) {
19 object(ReflectionParameter)#%d (1) {
24 object(ReflectionParameter)#%d (1) {
/PHP-8.2/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.2/ext/reflection/
H A Dphp_reflection_arginfo.h765 ZEND_METHOD(ReflectionParameter, __toString);
766 ZEND_METHOD(ReflectionParameter, getName);
771 ZEND_METHOD(ReflectionParameter, getClass);
772 ZEND_METHOD(ReflectionParameter, hasType);
773 ZEND_METHOD(ReflectionParameter, getType);
774 ZEND_METHOD(ReflectionParameter, isArray);
775 ZEND_METHOD(ReflectionParameter, isCallable);
776 ZEND_METHOD(ReflectionParameter, allowsNull);
778 ZEND_METHOD(ReflectionParameter, isOptional);
783 ZEND_METHOD(ReflectionParameter, isVariadic);
[all …]
/PHP-8.2/ext/date/tests/
H A Dbug70266.phpt5 var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());
/PHP-8.2/Zend/tests/attributes/
H A D001_placement.phpt88 string(19) "ReflectionParameter"
96 string(19) "ReflectionParameter"

Completed in 29 milliseconds

123