/PHP-7.3/tests/lang/ |
H A D | passByReference_007.phpt | 2 Pass function and method calls by reference and by value. 56 echo "\nPass a static method call that returns a value:\n"; 61 echo "Pass a static method call that returns a reference:\n"; 68 echo "\nPass a method call that returns a value:\n"; 73 echo "Pass a method call that returns a reference:\n"; 89 Pass a static method call that returns a value: 94 Pass a static method call that returns a reference: 98 Pass a method call that returns a value: 103 Pass a method call that returns a reference:
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_result_reflection.phpt | 40 Inspecting method '__construct' 56 Inspecting method '__construct' 72 Inspecting method 'close' 88 Inspecting method 'data_seek' 111 Inspecting method 'fetch_all' 134 Inspecting method 'fetch_array' 157 Inspecting method 'fetch_assoc' 173 Inspecting method 'fetch_field' 258 Inspecting method 'fetch_row' 274 Inspecting method 'field_seek' [all …]
|
/PHP-7.3/Zend/tests/ |
H A D | bug26802.phpt | 2 Bug #26802 (Can't call static method using a variable) 16 static $method = 'global_func'; 28 $method = 'foo_func'; 29 foo::$method();
|
H A D | objects_027.phpt | 2 Testing 'new static;' calling parent method 30 Deprecated: Non-static method foo::test() should not be called statically in %s on line %d 32 Deprecated: Non-static method bar::show() should not be called statically in %s on line %d 38 Deprecated: %son-static method foo::test() should not be called statically in %s on line %d 40 Deprecated: Non-static method bar::show() should not be called statically in %s on line %d
|
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 | 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"
|
/PHP-7.3/ext/reflection/tests/ |
H A D | ReflectionMethod_invokeArgs_error3.phpt | 54 echo "\nStatic method:\n"; 61 echo "\nPrivate method:\n"; 68 echo "\nAbstract method:\n"; 92 string(72) "Given object is not an instance of the class this method was declared in" 99 Static method: 113 Private method: 114 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod" 116 Abstract method: 117 string(53) "Trying to invoke abstract method AbstractClass::foo()" 118 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
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_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 | bug32981.phpt | 15 foreach ($class->getMethods() as $method) 17 var_dump($method->getName()); 18 $arr_static_vars[] = $method->getStaticVariables();
|
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"
|
H A D | ReflectionMethod_getStaticVariables_basic.phpt | 23 echo "Public method:\n"; 27 echo "\nPrivate method:\n"; 41 Public method: 51 Private method:
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_map_object1.phpt | 12 * 1) simple class with variable and method 14 * 3) class with only one method and no variable 21 echo "-- simple class with public variable and method --\n"; 35 echo "\n-- simple class with private variable and method --\n"; 45 echo "\n-- simple class with protected variable and method --\n"; 78 echo "\n-- class with final method --\n"; 127 -- simple class with public variable and method -- 138 -- simple class with private variable and method -- 144 -- simple class with protected variable and method -- 169 -- class with final method -- [all …]
|
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.3/ext/openssl/tests/ |
H A D | openssl_decrypt_gcm.phpt | 13 $method = 'aes-128-gcm'; 14 $tests = openssl_get_cipher_tests($method); 18 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA, 24 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA, 27 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA, 30 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
|
H A D | openssl_x509_fingerprint_basic.phpt | 16 echo "** Testing hash method md5 **\n"; 22 echo "** Testing hash method sha1 with resource **\n"; 28 echo "** Testing bad hash method **\n"; 38 ** Testing hash method md5 ** 42 ** Testing hash method sha1 with resource ** 48 ** Testing bad hash method **
|
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)));
|
/PHP-7.3/ext/spl/tests/ |
H A D | CallbackFilterIteratorTest.phpt | 29 'instance method' => function() { return array(new A, 'test'); }, 30 'static method' => function() { return array('B', 'test'); }, 31 'static method (2)' => function() { return 'B::test'; }, 59 = instance method = 74 = static method = 89 = static method (2) =
|
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.3/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-7.3/ext/xmlrpc/tests/ |
H A D | bug61097.phpt | 9 $method = 'abc'; 10 xmlrpc_server_register_introspection_callback($server, $method); 11 xmlrpc_server_register_method($server, 'abc', $method);
|
H A D | bug51288.phpt | 7 $method = NULL; 9 var_dump(xmlrpc_decode_request($req, $method)); 10 var_dump($method);
|
/PHP-7.3/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.3/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) {
|