Home
last modified time | relevance | path

Searched refs:method (Results 126 – 150 of 847) sorted by relevance

12345678910>>...34

/PHP-7.3/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-7.3/ext/session/tests/
H A D001.phpt17 function method() { $this->yes = "done"; }
21 $baz->method();
24 $arr[3]->method();
H A D023.phpt17 function method() { $this->yes++; }
26 $baz->method();
27 $arr[3]->method();
H A D003.phpt17 function method() { $this->yes++; }
24 $_SESSION["baz"]->method();
25 $_SESSION["arr"][3]->method();
/PHP-7.3/ext/date/tests/
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";
29 *** Testing new DateTime() : with user space __construct magic method ***
/PHP-7.3/ext/reflection/tests/
H A DReflectionMethod_constructor_error1.phpt41 echo "\nNo method given:\n";
47 echo "\nClass and Method in same string, bad method name:\n";
68 ReflectionException: Invalid method name 1 in %s
73 ReflectionException: Invalid method name 3 in %s
87 No method given:
88 ReflectionException: Invalid method name TestClass in %s
92 Class and Method in same string, bad method name:
H A Dtraits001.phpt41 Method [ <user> public method someMethod ] {
62 Method [ <user> public method someOtherMethod ] {
66 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, overwrites A> private method f ] {
114 Method [ <user, overwrites B> private method f ] {
H A D010.phpt2 ReflectionMethod::__toString() tests (overriden method)
17 Method [ <user, overwrites Foo, prototype Foo> public method func ] {
/PHP-7.3/Zend/tests/
H A Dbug68148.phpt7 public function method() {
12 (new Test)->method();
H A Dbug61025.phpt23 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
25 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
27 Fatal error: Uncaught Error: Call to private method Bar::__invoke() from context '' in %sbug61025.p…
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 Dbug73960.phpt2 Bug #73960: Leak with instance method calling static method with referenced return
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 Dbug20242.phpt15 echo "method\n";
21 method
H A Dobjects_009.phpt2 method overloading with different method signature
H A Dbug71737.phpt7 public function method() {
12 (new Test)->method()(new stdClass);
/PHP-7.3/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-7.3/ext/standard/tests/class_object/
H A Dmethod_exists_error_001.phpt5 /* Prototype : proto bool method_exists(object object, string method)
6 * Description: Checks if the class method exists
17 $method = 'string_val';
19 var_dump( method_exists($object, $method, $extra_arg) );
/PHP-7.3/ext/openssl/tests/
H A Dopenssl_digest_basic.phpt8 $method = "md5";
11 var_dump(openssl_digest($data, $method));
/PHP-7.3/tests/classes/
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 omitted in %s on line %d
/PHP-7.3/sapi/cli/tests/
H A Dbug69953.phpt2 FR #69953 (Support MKCALENDAR request method)
13 $context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
/PHP-7.3/ext/standard/tests/array/
H A Darray_intersect_ukey_variation9.phpt28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_ukey() function using class with static method as callback --
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/PHP-7.3/ext/pdo/tests/
H A Dbug_52098.phpt25 echo "Calling object method '$name'" . implode(', ', $arguments). "\n";
56 Calling object method 'foo'
57 Calling object method 'bar'
58 Calling object method 'lucky'
/PHP-7.3/Zend/tests/traits/
H A Dinheritance002.phpt2 Trait method overriddes base class method

Completed in 42 milliseconds

12345678910>>...34