Home
last modified time | relevance | path

Searched refs:method (Results 151 – 175 of 830) sorted by relevance

12345678910>>...34

/PHP-7.4/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 ] {
H A DReflectionClass_getExtensionName_basic.phpt2 ReflectionClass::getExtensionName() method - basic test for getExtensionName() method
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_032.phpt8 public function &method() {
13 var_dump($foo->method());
/PHP-7.4/Zend/tests/
H A Dbug73960.phpt2 Bug #73960: Leak with instance method calling static method with referenced return
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 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);
H A Derrmsg_001.phpt2 errmsg: Non-abstract method must contain body
16 Fatal error: Non-abstract method Impl::Foo() must contain body in %s on line %d
/PHP-7.4/ext/session/tests/
H A D003.phpt17 function method() { $this->yes++; }
24 $_SESSION["baz"]->method();
25 $_SESSION["arr"][3]->method();
H A D023.phpt17 function method() { $this->yes++; }
26 $baz->method();
27 $arr[3]->method();
/PHP-7.4/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.4/ext/opcache/tests/
H A Dbug79193.phpt8 public static function method($bar) {
14 Test::method(1);
/PHP-7.4/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.4/ext/openssl/tests/
H A Dopenssl_digest_basic.phpt8 $method = "md5";
11 var_dump(openssl_digest($data, $method));
/PHP-7.4/sapi/cli/tests/
H A Dbug69953.phpt2 FR #69953 (Support MKCALENDAR request method)
13 $context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
/PHP-7.4/Zend/tests/traits/
H A Dinheritance002.phpt2 Trait method overriddes base class method
/PHP-7.4/Zend/tests/anon/
H A D002.phpt8 public function method();
12 public function method(){
/PHP-7.4/ext/mysqli/tests/
H A Dbug74595.phpt10 $method = $class->getMethod('query');
11 var_dump($method->getParameters());
/PHP-7.4/ext/intl/tests/
H A Dcalendar_getErrorCode_getErrorMessage_basic.phpt38 Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed i…
41 string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"
42 string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"

Completed in 31 milliseconds

12345678910>>...34