Home
last modified time | relevance | path

Searched refs:method (Results 176 – 200 of 1024) sorted by relevance

12345678910>>...41

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_interface.phpt36 foreach ($methods as $k => $method) {
37 if (isset($expected[$method])) {
38 unset($expected[$method]);
41 if ($method == $classname) {
/php-src/ext/intl/tests/
H A Dlocale_bug74439.phpt29 foreach ($methods as $method) {
30 $rm = new ReflectionMethod(Locale::class, $method);
31 …printf("%s: %d, %d\n", $method, $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters()…
/php-src/tests/classes/
H A Dstatic_mix_1.phpt2 ZE2 You cannot overload a static method with a non static method
24 Fatal error: Cannot make static method pass::show() non static in class fail in %s on line 10
H A Dstatic_mix_2.phpt2 ZE2 You cannot overload a non static method with a static method
25 Fatal error: Cannot make non static method pass::show() static in class fail in %s on line 10
/php-src/ext/date/tests/
H A Dbug73858.phpt6 In the "verbose setup method" I'm trying setup the DateTime object myself
18 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method
19 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
25 is the important one, if it uses the verbose method it returns the correct values.
27 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method
33 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
38 …st just proves that the $e date is important BUT NOT because it's the one we call the diff() method
42 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
H A DDateTime_extends_basic2.phpt2 Test DateTime class inheritance : with user space __construct magic method
9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n";
28 *** Testing new DateTime() : with user space __construct magic method ***
/php-src/ext/reflection/tests/
H A DReflectionParameter_invalidMethodInConstructor.phpt2 ReflectionParameter::__construct(): Invalid method as constructor
11 // Invalid class method
16 // Invalid object method
47 …__construct(): Argument #1 ($function) must be a string, an array(class, method), or a callable ob…
H A Dbug45765.phpt50 Method [ <user> public method test ] {
58 Method [ <user> public method test2 ] {
66 Method [ <user> public method test3 ] {
74 Method [ <user> public method test4 ] {
H A DReflectionMethod_defaultArg.phpt24 Method [ <user> private method bar ] {
31 Method [ <user> private method bar ] {
38 Method [ <user> private method bar ] {
H A D008.phpt37 string(90) "ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method n…
38 string(91) "ReflectionMethod::createFromMethodName(): Argument #1 ($method) must be a valid method
41 string(90) "ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method n…
42 string(91) "ReflectionMethod::createFromMethodName(): Argument #1 ($method) must be a valid method
H A Dtraits001.phpt42 Method [ <user> public method someMethod ] {
63 Method [ <user> public method someOtherMethod ] {
67 Method [ <user> public method someMethod ] {
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_cache_slot_opt.phpt9 public function method() {
22 $test->method();
23 $test->method();
/php-src/ext/dom/tests/
H A DDOMChildNode_methods_without_parent.phpt19 foreach (['before', 'after', 'replaceWith'] as $method) {
20 echo "--- $method ---\n";
21 $test->$method($child);
/php-src/ext/openssl/tests/
H A Dopenssl_encrypt_error.phpt8 $method = "AES-128-CBC";
10 $iv = str_repeat("\0", openssl_cipher_iv_length($method));
19 var_dump(openssl_encrypt($data, $method, $password, OPENSSL_DONT_ZERO_PAD_KEY, $iv));
/php-src/Zend/tests/
H A Dbug70685.phpt2 Bug #70685: Segfault for getClosure() internal method rebind with invalid $this
18 Warning: Cannot bind method SplDoublyLinkedList::count() to object of class cls in %s on line %d
21 Warning: Cannot rebind scope of closure created from method in %s on line %d
H A Dbug68148.phpt7 public function method() {
12 (new Test)->method();
H A Dregister_shutdown_function_refcount.phpt7 register_shutdown_function('Test::method');
9 function method() {
/php-src/ext/standard/tests/array/
H A Darray_intersect_ukey_variation9.phpt23 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
27 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
34 -- Testing array_intersect_ukey() function using class with static method as callback --
48 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/php-src/Zend/tests/nullable_types/
H A Dcovariant_nullable_return_succeds.phpt7 function method(): ?int;
11 function method(): int;
/php-src/ext/session/tests/
H A D001.phpt20 function method() { $this->yes = "done"; }
24 $baz->method();
27 $arr[3]->method();
H A D003.phpt20 function method() { $this->yes++; }
27 $_SESSION["baz"]->method();
28 $_SESSION["arr"][3]->method();
/php-src/ext/opcache/tests/
H A Dpreload_dynamic_def_removal.inc3 function method() {
17 $test->method();
/php-src/ext/xsl/tests/
H A Dxslt002.phpt9 // changing output method to html
11 $res = $xp->query("/xsl:stylesheet/xsl:output/@method");
13 print "No or more than one xsl:output/@method found";
/php-src/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_return_inheritance_success1.phpt8 public function method(): mixed {}
13 public function method(): mixed {}
/php-src/ext/gd/tests/
H A Dimageinterpolation_basic.phpt31 foreach ($methods as $method) {
32 imagesetinterpolation($im, $method);
33 var_dump(imagegetinterpolation($im) === $method);

Completed in 51 milliseconds

12345678910>>...41