Home
last modified time | relevance | path

Searched refs:method (Results 101 – 125 of 847) sorted by relevance

12345678910>>...34

/PHP-7.3/Zend/tests/
H A Dns_010.phpt14 echo "method ok\n";
33 method ok
34 method ok
35 method ok
H A Dbug30451.phpt10 protected static function method() {
20 var_dump(self::method());
21 var_dump(parent::method());
H A Dbug21888.phpt2 Bug #21888 (protected property and protected method of the same name)
10 print "protected method\n";
31 protected method
H A Dns_037.phpt14 echo "method ok\n";
33 method ok
34 method ok
35 method ok
/PHP-7.3/ext/standard/tests/array/
H A Darray_reduce_variation3.phpt20 echo "\n--- Static method callback ---\n";
23 echo "\n--- Instance method callback ---\n";
31 --- Static method callback ---
34 --- Instance method callback ---
H A Darray_intersect_uassoc_variation10.phpt15 // define some class with method
28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\…
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_uassoc() function using class with static method as callback --
50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/PHP-7.3/ext/date/tests/
H A DDateTime_fix_createFromFormat.phpt20 echo "Format method: " . $orig->format("D., M. j, Y g:iA") . "\n";
21 echo "createFromFormat method: " . $fromFormat->format("D., M. j, Y g:iA") . "\n";
27 Format method: Thu., Nov. 29, 2012 5:00PM
28 createFromFormat method: Thu., Nov. 29, 2012 5:00PM
H A DDateTime_extends_basic3.phpt2 Test DateTime class inheritance : with user space fromat() method
8 echo "*** Testing new DateTime() : with user format() method ***\n";
24 *** Testing new DateTime() : with user format() method ***
H A Dbug73858.phpt6 In the "verbose setup method" I'm trying setup the DateTime object myself
18 $s = (new DateTime(null))->setTimestamp(strtotime($ss)); // verbose setup method
19 $e = (new DateTime(null))->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(null))->setTimestamp(strtotime($ss)); // verbose setup method
33 $e = (new DateTime(null))->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(null))->setTimestamp(strtotime($es)); // verbose setup method
/PHP-7.3/sapi/cli/tests/
H A Dbug69655.phpt2 Bug #69655 (php -S changes MKCALENDAR request method to MKCOL)
13 foreach (['MKCO', 'MKCOLL', 'M'] as $method) {
14 $context = stream_context_create(['http' => ['method' => $method]]);
/PHP-7.3/Zend/tests/traits/bugs/
H A Dalias-semantics02.phpt3 method body of the original method.
4 It should also work incase the method is fully qualified.
/PHP-7.3/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt6 * Description: Returns a dynamically created closure for the method
33 $method = $class->getMethod( 'foo' );
41 var_dump( $method->getClosure( $object, 'foobar' ) );
44 $closure = $method->getClosure();
48 var_dump( $method->getClosure( $fakeobj ) );
72 string(72) "Given object is not an instance of the class this method was declared in"
H A DReflectionClass_toString_002.phpt2 ReflectionClass::__toString() - verify 'inherits', 'overwrites' and 'prototype' parts of method rep…
45 Method [ <user> public method f ] {
69 Method [ <user, overwrites A, prototype A> public method f ] {
93 Method [ <user, inherits B, prototype A> public method f ] {
117 Method [ <user, overwrites B, prototype A> public method f ] {
H A Dbug64239.phpt18 print_r(($method = $obj->getMethod("Bmethod")));
19 var_dump($method->getName());
20 var_dump($method->getShortName());
H A DReflectionClass_FileInfo_error.phpt10 foreach ($methods as $method) {
11 var_dump($rc->$method());
12 var_dump($rc->$method(null));
13 var_dump($rc->$method('X', 0));
H A DReflectionObject_FileInfo_error.phpt10 foreach ($methods as $method) {
11 var_dump($rc->$method());
12 var_dump($rc->$method(null));
13 var_dump($rc->$method('X', 0));
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 DReflectionParameter_invalidMethodInConstructor.phpt2 ReflectionParameter::__construct(): Invalid method as constructor
11 // Invalid class method
16 // Invalid object method
47 Ok - The parameter class is expected to be either a string, an array(class, method) or a callable o…
H A DReflectionMethod_defaultArg.phpt24 Method [ <user> private method bar ] {
31 Method [ <user> private method bar ] {
38 Method [ <user> private method bar ] {
/PHP-7.3/ext/xmlrpc/tests/
H A Dbug45226.phpt12 echo xmlrpc_encode_request('method.call', array('date' => $d));
16 echo xmlrpc_encode_request('method.call', array('date' => $d));
22 <methodName>method.call</methodName>
40 <methodName>method.call</methodName>
/PHP-7.3/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 %d
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 %d
/PHP-7.3/Zend/tests/nullable_types/
H A Dcovariant_nullable_return_succeds.phpt7 function method(): ?int;
11 function method(): int;
/PHP-7.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_interface.phpt39 foreach ($methods as $k => $method) {
40 if (isset($expected[$method])) {
41 unset($expected[$method]);
44 if ($method == $classname) {
/PHP-7.3/ext/session/tests/
H A D022.phpt17 function method() { $this->yes = "done"; }
21 $baz->method();
24 $arr[3]->method();

Completed in 29 milliseconds

12345678910>>...34