/PHP-7.4/ext/pdo/tests/ |
H A D | bug_47769.phpt | 14 echo "this is a protected method.\n"; 17 echo "this is a private method.\n"; 33 this is a protected method. 34 this is a private method. 37 Fatal error: Uncaught Error: Call to protected method test::isProtected() from context '' in %s:%d
|
/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error1.phpt | 9 public function method() : C {} 13 public function method() : B {} 25 Fatal error: Declaration of B::method(): B must be compatible with A::method(): C in %s on line %d
|
H A D | class_order_error.phpt | 7 public function method() : B {} 10 public function method() : C {} 19 Fatal error: Could not check compatibility between B::method(): C and A::method(): B, because class…
|
H A D | class_order_autoload_error2.phpt | 10 public function method(B $x) {} 14 public function method(C $x) {} 27 Warning: Declaration of B::method(C $x) should 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 {}
|
/PHP-7.4/ext/calendar/ |
H A D | easter.c | 33 zend_long method = CAL_EASTER_DEFAULT; in _cal_easter() local 49 "|ll", &year, &method) == FAILURE) { in _cal_easter() 60 if ((year <= 1582 && method != CAL_EASTER_ALWAYS_GREGORIAN) || in _cal_easter() 61 …(year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORI… in _cal_easter() 62 method == CAL_EASTER_ALWAYS_JULIAN) { /* JULIAN CALENDAR */ in _cal_easter()
|
/PHP-7.4/ext/phar/tests/zip/ |
H A D | corrupt_008.phpt | 85 phar error: unsupported compression method (Shrunk) used in this zip in zip-based phar "%scompress_… 86 phar error: unsupported compression method (Reduce) used in this zip in zip-based phar "%scompress_… 87 phar error: unsupported compression method (Reduce) used in this zip in zip-based phar "%scompress_… 88 phar error: unsupported compression method (Reduce) used in this zip in zip-based phar "%scompress_… 89 phar error: unsupported compression method (Reduce) used in this zip in zip-based phar "%scompress_… 90 phar error: unsupported compression method (Implode) used in this zip in zip-based phar "%scompress… 91 phar error: unsupported compression method (Tokenize) used in this zip in zip-based phar "%scompres… 92 phar error: unsupported compression method (Deflate64) used in this zip in zip-based phar "%scompre… 94 phar error: unsupported compression method (LZMA) used in this zip in zip-based phar "%scompress_un… 97 phar error: unsupported compression method (WavPack) used in this zip in zip-based phar "%scompress… [all …]
|
/PHP-7.4/ext/reflection/tests/ |
H A D | closures_004.phpt | 7 $method = new ReflectionFunction ($closure); 9 $closure2 = $method->getClosure (); 21 $method = new ReflectionMethod ($closure, '__invoke'); 22 $closure2 = $method->getClosure ($closure);
|
H A D | ReflectionMethod_invoke_error1.phpt | 44 echo "\nPrivate method:\n"; 51 echo "\nAbstract method:\n"; 67 string(72) "Given object is not an instance of the class this method was declared in" 69 Private method: 70 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod" 72 Abstract method: 73 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
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
|
/PHP-7.4/Zend/tests/ |
H A D | access_modifiers_012.phpt | 9 echo "In __call() for method $name()\n"; 19 In __call() for method none() 20 In __call() for method prot() 21 In __call() for method priv()
|
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 | closure_061.phpt | 11 public function method() {} 48 [[new Cls, 'method'], [ 166 Cannot rebind scope of closure created from method 169 Cannot rebind scope of closure created from method 172 Cannot rebind scope of closure created from method 174 (new Cls)->method() 178 Unbinding $this of a method is deprecated 189 Cannot bind method Cls::method() to object of class ClsUnrelated 192 Cannot rebind scope of closure created from method 213 Cannot unbind $this of internal method [all …]
|
/PHP-7.4/ext/openssl/tests/ |
H A D | openssl_decrypt_error.phpt | 8 $method = "AES-128-CBC"; 11 $iv = str_repeat("\0", openssl_cipher_iv_length($method)); 13 $encrypted = openssl_encrypt($data, $method, $password); 15 var_dump(openssl_encrypt($data, $method, $password, 0, $iv)); 16 var_dump(openssl_decrypt($encrypted, $method, $wrong)); 18 var_dump(openssl_decrypt($wrong, $method, $password)); 22 var_dump(openssl_decrypt(array(), $method, $password)); 24 var_dump(openssl_decrypt($encrypted, $method, array()));
|
H A D | openssl_decrypt_ocb.phpt | 13 $method = 'aes-128-ocb'; 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, 28 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA, 32 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA, 36 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
|
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 **
|
/PHP-7.4/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.4/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.4/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);
|
/PHP-7.4/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) =
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_result_reflection.phpt | 38 Inspecting method '__construct' 54 Inspecting method '__construct' 70 Inspecting method 'close' 86 Inspecting method 'data_seek' 109 Inspecting method 'fetch_all' 132 Inspecting method 'fetch_array' 155 Inspecting method 'fetch_assoc' 171 Inspecting method 'fetch_field' 256 Inspecting method 'fetch_row' 272 Inspecting method 'field_seek' [all …]
|
/PHP-7.4/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 …]
|