/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionParameter_invalidMethodInConstructor.phpt | 2 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 D | parameters_002.phpt | 2 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 D | closures_001.phpt | 29 $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 D | parameters_001.phpt | 2 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 D | ReflectionClass_isArray.phpt | 2 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 D | ReflectionParameter_new_initializer.phpt | 2 ReflectionParameter::__toString() with new initializer 11 echo new ReflectionParameter('test', 'p1'), "\n"; 12 echo new ReflectionParameter('test', 'p2'), "\n";
|
H A D | bug39884.phpt | 2 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 D | ReflectionParameter_002.phpt | 2 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 D | ReflectionParameter_003.phpt | 2 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 D | ReflectionParameter_001.phpt | 2 ReflectionParameter class - getNames() method. 59 object(ReflectionParameter)#%i (1) { 64 object(ReflectionParameter)#%i (1) { 71 object(ReflectionParameter)#%i (1) {
|
H A D | ReflectionParameter_ctor_cast.phpt | 2 Test method name string cast in ReflectionParameter ctor 8 new ReflectionParameter([
|
H A D | ReflectionParameter_export_basic.phpt | 2 ReflectionParameter::__toString() 12 echo new ReflectionParameter('ReflectionParameterTest', $key), "\n";
|
H A D | closures_002.phpt | 15 $rp = new ReflectionParameter(array(new Test, '__invoke'), 0); 18 $rp = new ReflectionParameter(array(new Test, '__invoke'), 1);
|
H A D | ReflectionParameter_getClass_self_parent_closure.phpt | 30 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 D | 009.phpt | 93 object(ReflectionParameter)#2 (1) { 98 object(ReflectionParameter)#3 (1) { 103 object(ReflectionParameter)#4 (1) {
|
H A D | 025.phpt | 93 object(ReflectionParameter)#2 (1) { 98 object(ReflectionParameter)#3 (1) { 103 object(ReflectionParameter)#4 (1) {
|
H A D | constructor_promotion.phpt | 27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y'); 29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z');
|
H A D | bug72661.phpt | 7 var_dump((string)(new ReflectionParameter("test", 0))->getType());
|
H A D | ReflectionExtension_getClasses_basic.phpt | 42 ["ReflectionParameter"]=> 45 string(19) "ReflectionParameter"
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug68479.phpt | 14 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 D | bug60201.phpt | 14 object(ReflectionParameter)#%d (1) { 19 object(ReflectionParameter)#%d (1) { 24 object(ReflectionParameter)#%d (1) {
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | callable_002.phpt | 24 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.1/ext/reflection/ |
H A D | php_reflection_arginfo.h | 755 ZEND_METHOD(ReflectionParameter, __toString); 756 ZEND_METHOD(ReflectionParameter, getName); 761 ZEND_METHOD(ReflectionParameter, getClass); 762 ZEND_METHOD(ReflectionParameter, hasType); 763 ZEND_METHOD(ReflectionParameter, getType); 764 ZEND_METHOD(ReflectionParameter, isArray); 765 ZEND_METHOD(ReflectionParameter, isCallable); 766 ZEND_METHOD(ReflectionParameter, allowsNull); 768 ZEND_METHOD(ReflectionParameter, isOptional); 773 ZEND_METHOD(ReflectionParameter, isVariadic); [all …]
|
/PHP-8.1/ext/date/tests/ |
H A D | bug70266.phpt | 5 var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());
|
/PHP-8.1/Zend/tests/attributes/ |
H A D | 001_placement.phpt | 88 string(19) "ReflectionParameter" 96 string(19) "ReflectionParameter"
|