Home
last modified time | relevance | path

Searched refs:method (Results 251 – 275 of 1034) sorted by relevance

1...<<11121314151617181920>>...42

/php-src/Zend/tests/
H A Dbug69427.phpt2 Bug #69427 (Segfault on magic method __call of private method in superclass)
H A Dbug78335.phpt9 public static function method() {
23 Test::method();
H A Dobjects_005.phpt2 method overloading with different method signature
H A Derrmsg_005.phpt2 errmsg: can't use method return value in write context
18 Fatal error: Can't use method return value in write context in %s on line %d
H A Dobjects_002.phpt2 method overloading with different method signature
H A Dbug71414.phpt2 Bug #71414 (Interface method override inherited method and implemented in a trait causes fatal erro…
H A Dmethods-on-non-objects.phpt7 $x->method();
11 Fatal error: Uncaught Error: Call to a member function method() on null in %s:%d
/php-src/Zend/tests/attributes/override/
H A D017.phpt2 #[\Override]: Redeclared trait method.
21 Fatal error: C::t() has #[\Override] attribute, but no matching parent method exists in %s on line …
H A D008.phpt2 #[\Override]: On used trait without parent method.
19 Fatal error: Foo::t() has #[\Override] attribute, but no matching parent method exists in %s on lin…
H A D010.phpt2 #[\Override]: Parent method is private.
19 Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line …
H A D011.phpt2 #[\Override]: Parent method is private (2).
19 Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line …
/php-src/Zend/tests/return_types/
H A Dvoid_disallowed3.phpt2 void return type: unacceptable cases: explicit null return in a method
14 Fatal error: A void method must not return a value in %s on line %d
H A Dnever_disallowed5.phpt2 never return type: unacceptable cases: implicit return in a method
21 Foo::bar(): never-returning method must not implicitly return
/php-src/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt27 $method = $class->getMethod( 'foo' );
34 var_dump( $method->getClosure( $fakeobj ) );
44 string(72) "Given object is not an instance of the class this method was declared in"
H A Dbug51911.phpt12 $method = $clazz->getMethod('x');
13 foreach ($method->getParameters() as $param) {
/php-src/Zend/tests/traits/
H A Dgh12854.phpt2 GH-12854 (8.3 - as final trait-used method does not correctly report visibility in Reflection)
31 foreach (['pub', 'prot', 'priv', 'final1', 'final2', 'final3'] as $method) {
32 echo "--- Method: $method ---\n";
33 $rm = new ReflectionMethod(Test::class, $method);
H A Dinheritance001.phpt2 Trait method overwritten by a method defined in the class.
H A Dbug60165a.phpt17 Fatal error: An alias (barA) was defined for method nonExistent(), but this method does not exist i…
H A Derror_013.phpt2 Trying to use static as method modifier
19 Fatal error: Cannot use "static" as method modifier in trait alias in %s on line %d
/php-src/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_parameter_inheritance_success6.phpt8 public function method(bool|int|float|string|array|object|null $a) {}
13 public function method(mixed $a) {}
/php-src/ext/opcache/tests/
H A Dpreload_trait_multiple_fixup.phpt16 (new C2)->method();
17 (new C4)->method();
/php-src/Zend/tests/traits/bugs/
H A Dalias-semantics.phpt2 … alias operation is to provide an additional identifier for the method body of the original method.
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid8.phpt9 function method(): iterable {}
14 function method(): X&Traversable {}
/php-src/ext/spl/tests/SplFileObject/
H A Dbug68479.phpt6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
7 $params = $method->getParameters();
/php-src/Zend/tests/function_arguments/
H A Dcall_with_trailing_comma_basic.phpt2 Allow trailing commas in function and method calls
38 'method',
79 string(6) "method"

Completed in 84 milliseconds

1...<<11121314151617181920>>...42