/php-src/ext/standard/tests/array/ |
H A D | array_reduce_variation3.phpt | 14 echo "\n--- Static method callback ---\n"; 17 echo "\n--- Instance method callback ---\n"; 24 --- Static method callback --- 27 --- Instance method callback ---
|
/php-src/Zend/tests/nullable_types/ |
H A D | contravariant_nullable_param_succeeds.phpt | 7 function method(int $p); 11 function method(?int $p) { } 15 $b->method(null);
|
/php-src/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_toString_Internal.phpt | 6 $method = $class->getMethod('setTime'); 8 foreach ($method->getParameters() as $k => $parameter) { 15 $method = $class->getMethod('listIdentifiers'); 17 foreach ($method->getParameters() as $parameter) {
|
H A D | ReflectionParameter_getDefaultValue_Internal.phpt | 6 $method = $class->getMethod('setTime'); 8 foreach ($method->getParameters() as $k => $parameter) { 19 $method = $class->getMethod('listIdentifiers'); 21 foreach ($method->getParameters() as $parameter) {
|
H A D | ReflectionParameter_isDefaultValueConstant_Internal.phpt | 6 $method = $class->getMethod('setTime'); 8 foreach ($method->getParameters() as $parameter) { 19 $method = $class->getMethod('listIdentifiers'); 21 foreach ($method->getParameters() as $parameter) {
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error2.phpt | 10 public function method(B $x) {} 14 public function method(C $x) {} 27 Fatal error: Declaration of B::method(C $x) must be compatible with A::method(B $x) in %s on line %d
|
H A D | parent_in_class_success.phpt | 9 public function method(parent $x) {} 12 public function method(P2 $x) {} 18 public function method($x): parent {} 21 public function method($x): parent {}
|
H A D | class_order_autoload3.phpt | 9 public function method(): X {} 14 public function method(): Y {} 19 public function method(): A {} 24 public function method(): B {}
|
H A D | class_order_autoload4.phpt | 10 public function method(): X {} 15 public function method(): Y {} 20 public function method(): A; 25 public function method(): B;
|
/php-src/Zend/tests/traits/ |
H A D | abstract_method_8.phpt | 2 Abstract method in trait using "self" 7 abstract private function method(self $x): self; 13 private function method(self $x): self {
|
/php-src/Zend/tests/ |
H A D | first_class_callable_004.phpt | 6 private function method() { 11 return $this->method(...); 21 Foo::method
|
H A D | bug80126.phpt | 7 public function method(): I; 11 public function method(): I { } 17 public function method(): C2 { }
|
H A D | indirect_call_array_002.phpt | 2 Indirect method call by array - Invalid method name 11 Fatal error: Uncaught Error: Call to undefined method stdClass::b() in %s:%d
|
H A D | first_class_callable_errors.phpt | 53 Call to undefined method stdClass::doesNotExist() 54 Call to undefined method stdClass::doesNotExist() 55 Call to undefined method stdClass::doesNotExist() 56 Call to private method Test::privateMethod() from global scope 57 Non-static method Test::instanceMethod() cannot be called statically
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_hasMethod_basic.phpt | 11 //Check if C has public method publicFoo 14 //Check if C has protected method protectedFoo 17 //Check if C has private method privateFoo 20 //Check if C has static method staticFoo 23 //C should not have method bar
|
H A D | ReflectionMethod_invoke_error1.phpt | 44 echo "\nPrivate method:\n"; 47 echo "\nAbstract method:\n"; 61 string(72) "Given object is not an instance of the class this method was declared in" 63 Private method: 67 Abstract method: 68 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
H A D | ReflectionMethod_getClosureThis.phpt | 27 $method = $staticclass->getMethod( 'foo' ); 28 $closure = $method->getClosure(); 33 $method = $class->getMethod( 'foo' ); 35 $closure = $method->getClosure( $object );
|
H A D | ReflectionParameter_ctor_cast.phpt | 2 Test method name string cast in ReflectionParameter ctor 10 new class { public function __toString() { return 'method'; } } 18 Method A::method() does not exist
|
H A D | bug32981.phpt | 15 foreach ($class->getMethods() as $method) 17 var_dump($method->getName()); 18 $arr_static_vars[] = $method->getStaticVariables();
|
/php-src/ext/openssl/tests/ |
H A D | openssl_encrypt_gcm.phpt | 13 $method = 'aes-128-gcm'; 14 $tests = openssl_get_cipher_tests($method); 18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 25 var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, '')); 28 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 32), $tag, '', 20)); 31 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 32)));
|
H A D | openssl_encrypt_ocb.phpt | 13 $method = 'aes-128-ocb'; 14 $tests = openssl_get_cipher_tests($method); 18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 25 var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, '')); 28 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 12), $tag, '', 20)); 31 var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 12)));
|
/php-src/ext/spl/tests/ |
H A D | RecursiveCallbackFilterIteratorTest.phpt | 32 'instance method' => function() { return array(new A, 'test'); }, 33 'static method' => function() { return array('B', 'test'); }, 34 'static method (2)' => function() { return 'B::test'; }, 65 = instance method = 80 = static method = 95 = static method (2) =
|
/php-src/ext/fileinfo/tests/ |
H A D | precedural_finfo_in_method.phpt | 2 Using procedural finfo API in a method 9 public function method() { 16 $test->method();
|
/php-src/ext/standard/tests/strings/ |
H A D | strval_error.phpt | 11 // no toString() method defined 14 // Testing strval with a object which has no toString() method 15 echo "\n-- Testing strval() function with object which has not toString() method --\n"; 26 -- Testing strval() function with object which has not toString() method --
|
/php-src/Zend/tests/traits/bugs/ |
H A D | gh13177.phpt | 46 Method [ <user, ctor> final private method __construct ] { 50 Method [ <user, ctor> final private method __construct ] { 54 Method [ <user, ctor> final private method __construct ] { 58 Method [ <user, ctor> final private method __construct ] { 63 Fatal error: Cannot override final method Foo3::__construct() in %s on line %d
|