Home
last modified time | relevance | path

Searched refs:method (Results 51 – 75 of 830) sorted by path

12345678910>>...34

/PHP-7.4/Zend/tests/
H A Dbug48533.phpt39 Deprecated: Non-static method foo::b() should not be called statically in %s on line %d
H A Dbug48770.phpt28 print "This method shouldn't be called when using parent::func!\n";
H A Dbug48770_2.phpt52 …rray() expects parameter 1 to be a valid callback, cannot access private method A::func22() in %s …
54 …() expects parameter 1 to be a valid callback, class 'A' does not have a method 'inexistent' in %s…
H A Dbug48770_3.phpt51 …() expects parameter 1 to be a valid callback, class 'B' does not have a method 'inexistent' in %s…
H A Dbug48899.phpt2 Bug #48899 (is_callable returns true even if method does not exist in parent class)
H A Dbug50383.phpt7 public static function __callStatic($method, $args) {
8 throw new Exception("Missing static method '$method'\n");
10 public function __call($method, $args) {
11 throw new Exception("Missing method '$method'\n");
39 Missing static method 'ThrowException'
72 Missing method 'foo'
H A Dbug51176.phpt2 Bug #51176 (Static calling in non-static method behaves like $this->)
H A Dbug52614.phpt2 Bug #52614 (Memory leak when writing on uninitialized variable returned from method call)
H A Dbug53347.phpt2 Bug #53347 Segfault accessing static method
H A Dbug54305.phpt15 Method [ <user> public method methodWithArgs ] {
H A Dbug54910.phpt6 public function __call($method, $args) {
7 if (stripos($method, 'get') === 0) {
10 die("No such method - '$method'\n");
28 No such method - 'noSuchMethod'
H A Dbug55247.phpt16 $method = 'method';
20 $test->method();
21 $test->$method();
24 Test::method();
25 Test::$method();
28 method
29 method
30 method
31 method
32 method
[all …]
H A Dbug61025.phpt23 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
25 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
27 Fatal error: Uncaught Error: Call to private method Bar::__invoke() from context '' in %sbug61025.p…
H A Dbug61761.phpt2 Bug #61761 ('Overriding' a private static method with a different signature causes crash)
H A Dbug62441.phpt7 function method(stdClass $o);
12 function method(stdClass $o) { }
15 (new Foo)->method(new \stdClass);
19 Fatal error: Could not check compatibility between ns\Foo::method(ns\stdClass $o) and Iface::method
H A Dbug63111.phpt2 Bug #63111 (is_callable() lies for abstract static method)
34 Fatal error: Uncaught Error: Cannot call abstract method Foo::bar() in %sbug63111.php:20
H A Dbug63219.phpt2 Bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
H A Dbug63468.phpt2 Bug #63468 (wrong called method as callback with inheritance)
H A Dbug67938.phpt2 Bug #67938: Segfault when extending interface method with variadic
H A Dbug68148.phpt7 public function method() {
12 (new Test)->method();
H A Dbug68475.phpt2 Bug #68475 Calling function using $callable() syntax with strings of form 'Class::method'
9 echo "Static method called!\n";
14 printf("Static method called with args: %s, %s, %s\n", $arg1, $arg2, $arg3);
18 // Test basic call using Class::method syntax.
35 // Reference undefined method.
52 Static method called!
53 Static method called!
54 Static method called with args: arg1, arg2, arg3
55 Static method called with args: arg1, arg2, arg3
56 Call to undefined method TestClass::undefinedMethod()
H A Dbug69025.phpt6 public static function __callStatic($method, $args)
H A Dbug69124.phpt11 function test(&$instance, &$method) {
12 $instance->{$method}();
16 $method = "bar";
18 test($instance, $method);
H A Dbug69212.phpt7 public static function __callStatic($method, $args) {}
8 public function __call($method, $args) {}
H A Dbug69427.phpt2 Bug #69427 (Segfault on magic method __call of private method in superclass)

Completed in 48 milliseconds

12345678910>>...34