/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_interface.phpt | 36 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 D | locale_bug74439.phpt | 29 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 D | static_mix_1.phpt | 2 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 D | static_mix_2.phpt | 2 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 D | bug73858.phpt | 6 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 D | DateTime_extends_basic2.phpt | 2 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 D | ReflectionParameter_invalidMethodInConstructor.phpt | 2 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 D | bug45765.phpt | 50 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 D | ReflectionMethod_defaultArg.phpt | 24 Method [ <user> private method bar ] { 31 Method [ <user> private method bar ] { 38 Method [ <user> private method bar ] {
|
H A D | 008.phpt | 37 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 D | traits001.phpt | 42 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 D | typed_properties_cache_slot_opt.phpt | 9 public function method() { 22 $test->method(); 23 $test->method();
|
/php-src/ext/dom/tests/ |
H A D | DOMChildNode_methods_without_parent.phpt | 19 foreach (['before', 'after', 'replaceWith'] as $method) { 20 echo "--- $method ---\n"; 21 $test->$method($child);
|
/php-src/ext/openssl/tests/ |
H A D | openssl_encrypt_error.phpt | 8 $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 D | bug70685.phpt | 2 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 D | bug68148.phpt | 7 public function method() { 12 (new Test)->method();
|
H A D | register_shutdown_function_refcount.phpt | 7 register_shutdown_function('Test::method'); 9 function method() {
|
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_ukey_variation9.phpt | 23 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 D | covariant_nullable_return_succeds.phpt | 7 function method(): ?int; 11 function method(): int;
|
/php-src/ext/session/tests/ |
H A D | 001.phpt | 20 function method() { $this->yes = "done"; } 24 $baz->method(); 27 $arr[3]->method();
|
H A D | 003.phpt | 20 function method() { $this->yes++; } 27 $_SESSION["baz"]->method(); 28 $_SESSION["arr"][3]->method();
|
/php-src/ext/opcache/tests/ |
H A D | preload_dynamic_def_removal.inc | 3 function method() { 17 $test->method();
|
/php-src/ext/xsl/tests/ |
H A D | xslt002.phpt | 9 // 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 D | mixed_return_inheritance_success1.phpt | 8 public function method(): mixed {} 13 public function method(): mixed {}
|
/php-src/ext/gd/tests/ |
H A D | imageinterpolation_basic.phpt | 31 foreach ($methods as $method) { 32 imagesetinterpolation($im, $method); 33 var_dump(imagegetinterpolation($im) === $method);
|