/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionMethod_getClosure_basic.phpt | 6 * Description: Returns a dynamically created closure for the method 37 $method = $staticclass->getMethod( 'foo' ); 38 $closure = $method->getClosure(); 41 $method = $class->getMethod( 'foo' ); 43 $closure = $method->getClosure( $object );
|
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();
|
H A D | ReflectionMethod_getStaticVariables_basic.phpt | 23 echo "Public method:\n"; 27 echo "\nPrivate method:\n"; 41 Public method: 51 Private method:
|
H A D | ReflectionMethod_setAccessible.phpt | 96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod" 97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod" 98 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod" 99 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod" 100 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" 101 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod" 102 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod" 103 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod"
|
/PHP-7.4/Zend/tests/type_declarations/variance/ |
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-7.4/Zend/tests/ |
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 | bug80126.phpt | 7 public function method(): I; 11 public function method(): I { } 17 public function method(): C2 { }
|
H A D | bug80126_2.phpt | 7 public function method(): I; 11 public function method(): I { 21 public function method(): C2 { }
|
H A D | methods-on-non-objects-catch.phpt | 2 Catch method calls on non-objects raise recoverable errors 11 var_dump($x->method()); 19 string(%d) "Call to a member function method() on null"
|
H A D | bug30451.phpt | 10 protected static function method() { 20 var_dump(self::method()); 21 var_dump(parent::method());
|
H A D | ns_010.phpt | 14 echo "method ok\n"; 33 method ok 34 method ok 35 method ok
|
H A D | bug21888.phpt | 2 Bug #21888 (protected property and protected method of the same name) 10 print "protected method\n"; 31 protected method
|
H A D | bug78344.phpt | 12 public function method() { 16 (new C)->method(); 22 #0 %s(%d): C->method()
|
H A D | static_variable_in_private_trait_method.phpt | 2 Behavior of static variable in private trait method 7 private static function method() { 14 return self::method();
|
/PHP-7.4/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-7.4/ext/xmlrpc/tests/ |
H A D | bug51288.phpt | 7 $method = NULL; 9 var_dump(xmlrpc_decode_request($req, $method)); 10 var_dump($method);
|
/PHP-7.4/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'; }, 64 = instance method = 79 = static method = 94 = static method (2) =
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_map_object2.phpt | 2 Test array_map() function : object functionality - with non-existent class and method 15 echo "*** Testing array_map() : with non-existent class and method ***\n"; 31 echo "-- with existent class and non-existent method --\n"; 37 *** Testing array_map() : with non-existent class and method *** 42 -- with existent class and non-existent method -- 44 … parameter 1 to be a valid callback, class 'SimpleClass' does not have a method 'non-existent' in …
|
/PHP-7.4/Zend/tests/traits/ |
H A D | no_static_arg_binding.phpt | 7 public static function method($arg) { 11 self::method($i); 19 public static function method(&$arg) {
|
/PHP-7.4/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, NULL, $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, NULL, $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-7.4/Zend/tests/traits/bugs/ |
H A D | alias-semantics02.phpt | 3 method body of the original method. 4 It should also work incase the method is fully qualified.
|