Home
last modified time | relevance | path

Searched refs:ReflectionMethod (Results 1 – 25 of 124) sorted by relevance

12345

/php-src/ext/reflection/tests/
H A DReflectionClass_getMethods_003.phpt46 object(ReflectionMethod)#%d (2) {
53 object(ReflectionMethod)#%d (2) {
60 object(ReflectionMethod)#%d (2) {
67 object(ReflectionMethod)#%d (2) {
76 object(ReflectionMethod)#%d (2) {
83 object(ReflectionMethod)#%d (2) {
90 object(ReflectionMethod)#%d (2) {
97 object(ReflectionMethod)#%d (2) {
106 object(ReflectionMethod)#%d (2) {
113 object(ReflectionMethod)#%d (2) {
[all …]
H A DReflectionMethod_constructor_error1.phpt2 ReflectionMethod constructor errors
18 $methodInfo = new ReflectionMethod(true);
24 $methodInfo = new ReflectionMethod(3);
30 $methodInfo = new ReflectionMethod(true, "foo");
42 $methodInfo = new ReflectionMethod("TestClass");
72 #0 %s ReflectionMethod->__construct('1')
79 #0 %s ReflectionMethod->__construct('3')
84 #0 %s ReflectionMethod->__construct('1', 'foo')
89 #0 %s ReflectionMethod->__construct('TestClass', '1')
96 #0 %s ReflectionMethod->__construct('TestClass')
[all …]
H A D008.phpt2 ReflectionMethod::__construct() tests
10 new ReflectionMethod($val);
16 ReflectionMethod::createFromMethodName($val);
27 new ReflectionMethod($val, $b[$key]);
36 Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMe…
37 string(90) "ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method n…
40 Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMe…
44 Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMe…
48 Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMe…
52 Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMe…
[all …]
H A DReflectionMethod_constructor_error2.phpt2 ReflectionMethod constructor errors
18 $methodInfo = new ReflectionMethod();
24 $methodInfo = new ReflectionMethod("TestClass", "foo", true);
32 $methodInfo = new ReflectionMethod("InvalidClassName", "foo");
40 $methodInfo = new ReflectionMethod([], "foo");
47 $methodInfo = new ReflectionMethod("TestClass", []);
55 Ok - ReflectionMethod::__construct() expects at least 1 argument, 0 given
58 Ok - ReflectionMethod::__construct() expects at most 2 arguments, 3 given
60 Ok - ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be of type object|string, …
61 Ok - ReflectionMethod::__construct(): Argument #2 ($method) must be of type ?string, array given
H A DReflectionClass_getMethod_001.phpt50 --> Check for f(): object(ReflectionMethod)#%d (2) {
56 --> Check for s(): object(ReflectionMethod)#%d (2) {
62 --> Check for F(): object(ReflectionMethod)#%d (2) {
70 --> Check for f(): object(ReflectionMethod)#%d (2) {
76 --> Check for s(): object(ReflectionMethod)#%d (2) {
82 --> Check for F(): object(ReflectionMethod)#%d (2) {
90 --> Check for f(): object(ReflectionMethod)#%d (2) {
96 --> Check for s(): object(ReflectionMethod)#%d (2) {
102 --> Check for F(): object(ReflectionMethod)#%d (2) {
110 --> Check for f(): object(ReflectionMethod)#%d (2) {
[all …]
H A DReflectionClass_getMethods_001.phpt42 object(ReflectionMethod)#%d (2) {
49 object(ReflectionMethod)#%d (2) {
59 object(ReflectionMethod)#%d (2) {
66 object(ReflectionMethod)#%d (2) {
76 object(ReflectionMethod)#%d (2) {
83 object(ReflectionMethod)#%d (2) {
93 object(ReflectionMethod)#%d (2) {
100 object(ReflectionMethod)#%d (2) {
110 object(ReflectionMethod)#%d (2) {
117 object(ReflectionMethod)#%d (2) {
H A DReflectionMethod_006.phpt2 ReflectionMethod methods - wrong num args
10 new ReflectionMethod();
15 new ReflectionMethod('a', 'b', 'c');
22 Ok - ReflectionMethod::__construct() expects at least 1 argument, 0 given
23 Ok - ReflectionMethod::__construct() expects at most 2 arguments, 3 given
H A DReflectionMethod_hasPrototype_basic.phpt2 public ReflectionMethod ReflectionMethod::hasPrototype ( void );
21 $reflectionMethod1 = new ReflectionMethod('HelloWorld', 'sayHelloTo');
24 $reflectionMethod2 = new ReflectionMethod('Hello', 'sayHelloTo');
27 $reflectionMethod3 = new ReflectionMethod('HelloWorld', 'sayHiTo');
H A DReflectionMethod_getPrototype_basic.phpt2 public ReflectionMethod ReflectionMethod::getPrototype ( void );
19 $reflectionMethod = new ReflectionMethod('HelloWorld', 'sayHelloTo');
24 object(ReflectionMethod)#2 (2) {
H A DReflectionMethod_getStaticVariables_basic.phpt2 ReflectionMethod::getStaticVariables()
24 $methodInfo = new ReflectionMethod('TestClass', 'foo');
28 $methodInfo = new ReflectionMethod('TestClass', 'bar');
32 $methodInfo = new ReflectionMethod('TestClass', 'noStatics');
36 $methodInfo = new ReflectionMethod('ReflectionClass', 'getName');
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";
41 *** Testing ReflectionMethod::getClosure() : error conditions ***
43 -- Testing ReflectionMethod::getClosure() function with invalid object --
H A DReflectionMethod_constructor_basic.phpt2 ReflectionMethod::isConstructor()
13 $methodInfo = new ReflectionMethod("NewCtor", "__construct");
19 $methodInfo = ReflectionMethod::createFromMethodName("ExtendsNewCtor::__construct");
28 $methodInfo = ReflectionMethod::createFromMethodName("X::Y");
34 $methodInfo = ReflectionMethod::createFromMethodName("Y::Y");
H A DReflectionMethod_returnsReference_basic.phpt2 ReflectionMethod::returnsReference()
14 $methodInfo = ReflectionMethod::createFromMethodName('TestClass::foo');
17 $methodInfo = ReflectionMethod::createFromMethodName('TestClass::bar');
H A DReflectionMethod_defaultArg.phpt2 ReflectionMethod and RECV_INIT (bug #70957 and #70958)
19 echo new \ReflectionMethod('F', 'bar');
20 echo new \ReflectionMethod('T', 'bar');
21 echo new \ReflectionMethod('B', 'bar');
H A DReflectionMethod_invoke_basic.phpt2 ReflectionMethod::invoke()
41 $foo = new ReflectionMethod('TestClass', 'foo');
42 $methodWithArgs = new ReflectionMethod('TestClass', 'methodWithArgs');
43 $staticMethod = new ReflectionMethod('TestClass', 'staticMethod');
44 $privateMethod = new ReflectionMethod('TestClass', 'privateMethod');
45 $methodThatThrows = new ReflectionMethod('TestClass', 'willThrow');
105 ReflectionMethod::invoke() expects at least 1 argument, 0 given
106 ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, true given
H A DReflectionMethod_getDeclaringClass_basic.phpt2 ReflectionMethod::getDeclaringClass()
14 $methodInfo = new ReflectionMethod('B', 'foo');
17 $methodInfo = new ReflectionMethod('B', 'bar');
H A DReflectionMethod_isDeprecated_interface.phpt2 ReflectionMethod::isDeprecated(): Implementing a deprecated interface method.
20 $r = new ReflectionMethod('I', 'test');
23 $r = new ReflectionMethod('Clazz', 'test');
H A DReflectionMethod_isDeprecated_parent.phpt2 ReflectionMethod::isDeprecated(): Implementing a deprecated abstract method.
20 $r = new ReflectionMethod('P', 'test');
23 $r = new ReflectionMethod('Clazz', 'test');
H A DReflectionMethod_tentative_return_type.phpt2 ReflectionMethod returns tentative return type information correctly
15 function printInfo(ReflectionMethod $methodInfo) {
24 printInfo(new ReflectionMethod(DateTimeZone::class, 'listIdentifiers'));
25 printInfo(new ReflectionMethod(MyDateTimeZone::class, 'listIdentifiers'));
26 printInfo(new ReflectionMethod(FileSystemIterator::class, 'current'));
H A DReflectionMethod_invokeArgs_error2.phpt2 ReflectionMethod::invokeArgs() further errors
15 $foo = new ReflectionMethod('TestClass', 'foo');
27 string(85) "ReflectionMethod::invokeArgs(): Argument #2 ($args) must be of type array, true given"
H A Dgh9470.phpt2 GH-9470: ReflectionMethod constructor finds private parent method
14 echo (string) new ReflectionMethod('B', 'publicMethod');
15 echo (string) new ReflectionMethod('B', 'protectedMethod');
16 echo (string) new ReflectionMethod('B', 'privateMethod');
H A DReflectionMethod_invoke_error1.phpt2 ReflectionMethod::invoke() errors
24 $foo = new ReflectionMethod('TestClass', 'foo');
25 $privateMethod = ReflectionMethod::createFromMethodName("TestClass::privateMethod");
48 $abstractMethod = ReflectionMethod::createFromMethodName("AbstractClass::foo");
58 string(85) "ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, true given"
H A Dbug64239.phpt25 [0] => ReflectionMethod Object
31 [1] => ReflectionMethod Object
38 ReflectionMethod Object
/php-src/ext/zend_test/tests/
H A Dattribute_arguments.phpt13 $reflection = new ReflectionMethod("ZendTestClassWithMethodWithParameterAttribute", "no_override");
18 $reflection = new ReflectionMethod("ZendTestClassWithMethodWithParameterAttribute", "override");
23 $reflection = new ReflectionMethod("ZendTestChildClassWithMethodWithParameterAttribute", "no_overri…
28 $reflection = new ReflectionMethod("ZendTestChildClassWithMethodWithParameterAttribute", "override"…
40 $reflection = new ReflectionMethod("ChildClassWithNoAttribute", "no_override");
45 $reflection = new ReflectionMethod("ChildClassWithNoAttribute", "override");
55 $reflection = new ReflectionMethod("ChildClassWithSameAttribute", "no_override");
60 $reflection = new ReflectionMethod("ChildClassWithSameAttribute", "override");
77 $reflection = new ReflectionMethod("ChildClassWithDifferentAttribute", "no_override");
82 $reflection = new ReflectionMethod("ChildClassWithDifferentAttribute", "override");
/php-src/ext/reflection/tests/property_hooks/
H A DReflectionProperty_getHooks.phpt27 object(ReflectionMethod)#1 (2) {
34 object(ReflectionMethod)#3 (2) {
44 object(ReflectionMethod)#2 (2) {
54 object(ReflectionMethod)#3 (2) {

Completed in 20 milliseconds

12345