Home
last modified time | relevance | path

Searched refs:method (Results 201 – 225 of 1034) sorted by relevance

12345678910>>...42

/php-src/ext/reflection/tests/
H A Dtraits001.phpt42 Method [ <user> public method someMethod ] {
63 Method [ <user> public method someOtherMethod ] {
67 Method [ <user> public method someMethod ] {
H A DReflectionClass_toString_003.phpt2 ReflectionClass::__toString() - verify 'inherits', 'overwrites' and 'prototype' parts of method rep…
45 Method [ <user> private method f ] {
69 Method [ <user> private method f ] {
114 Method [ <user> private method f ] {
H A DReflectionClass_getExtensionName_basic.phpt2 ReflectionClass::getExtensionName() method - basic test for getExtensionName() method
/php-src/ext/gd/tests/
H A Dimageinterpolation_basic.phpt31 foreach ($methods as $method) {
32 imagesetinterpolation($im, $method);
33 var_dump(imagegetinterpolation($im) === $method);
/php-src/ext/session/tests/
H A D003.phpt20 function method() { $this->yes++; }
27 $_SESSION["baz"]->method();
28 $_SESSION["arr"][3]->method();
H A D023.phpt20 function method() { $this->yes++; }
29 $baz->method();
30 $arr[3]->method();
/php-src/Zend/tests/
H A Ddynamic_call_to_ref_returning_function.phpt24 function &method($x) {
28 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invoke(new Bar, 42));
29 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invokeArgs(new Bar, [42]));
H A Dbug38220.phpt25 function __call($method, $args) {
30 echo "before call $method\n";
32 call_user_func_array(array($drv, $method), $args);
33 echo "after call $method\n";
H A Dbug73960.phpt2 Bug #73960: Leak with instance method calling static method with referenced return
H A Dfirst_class_callable_016.phpt6 public function &__call($method, $args) {
7 return $method;
H A Dfirst_class_callable_010.phpt6 public static function method() {
13 $bar = Bar::method(...);
/php-src/ext/intl/tests/
H A Dcalendar_getErrorCode_getErrorMessage_basic.phpt35 Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed i…
38 string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"
39 string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"
/php-src/ext/pdo/tests/
H A Dbug_52098.phpt25 echo "Calling object method '$name'" . implode(', ', $arguments). "\n";
59 Calling object method 'foo'
60 Calling object method 'bar'
61 Calling object method 'lucky'
/php-src/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_parameter_inheritance_success1.phpt8 public function method(mixed $a) {}
13 public function method(mixed $a) {}
H A Dmixed_return_inheritance_success4.phpt8 public function method() {}
13 public function method(): mixed {}
H A Dmixed_parameter_inheritance_success2.phpt8 public function method(mixed $a) {}
13 public function method($a) {}
H A Dmixed_parameter_inheritance_success3.phpt8 public function method($a) {}
13 public function method(mixed $a) {}
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_032.phpt8 public function &method() {
13 var_dump($foo->method());
/php-src/ext/standard/tests/class_object/
H A Dmethod_exists_basic_001.phpt32 foreach ($methods as $method) {
33 echo "Does C::$method exist? ";
34 var_dump(method_exists("C", $method));
39 foreach ($methods as $method) {
40 echo "Does C::$method exist? ";
41 var_dump(method_exists($myC, $method));
/php-src/ext/openssl/tests/
H A Dopenssl_digest_basic.phpt8 $method = "md5";
11 var_dump(openssl_digest($data, $method));
/php-src/ext/xml/tests/
H A Dxml_set_element_handler_errors.phpt61 echo 'Invalid start callable, string non existent method on set object:', PHP_EOL;
68 echo 'Invalid end callable, string non existent method on set object:', PHP_EOL;
89 …Argument #2 ($start_handler) an object must be set via xml_set_object() to be able to lookup method
91 …: Argument #3 ($end_handler) an object must be set via xml_set_object() to be able to lookup method
92 Invalid start callable, string non existent method on set object:
93 ValueError: xml_set_element_handler(): Argument #2 ($start_handler) method stdClass::nonexistent_me…
94 Invalid end callable, string non existent method on set object:
95 ValueError: xml_set_element_handler(): Argument #3 ($end_handler) method stdClass::nonexistent_meth…
/php-src/Zend/tests/nullsafe_operator/
H A D032.phpt9 public function method() {
20 $test->method();
/php-src/tests/classes/
H A Dinterface_method_final.phpt2 ZE2 An interface method cannot be final
12 Fatal error: Cannot use the final modifier on an abstract method in %s on line %d
H A Dinterface_method_private.phpt2 ZE2 An interface method cannot be private
12 Fatal error: Access type for interface method if_a::err() must be public in %s on line %d
/php-src/ext/opcache/tests/
H A Dbug79193.phpt10 public static function method($bar) {
16 Test::method(1);

Completed in 37 milliseconds

12345678910>>...42