/PHP-7.3/Zend/tests/ |
H A D | ns_010.phpt | 14 echo "method ok\n"; 33 method ok 34 method ok 35 method ok
|
H A D | bug30451.phpt | 10 protected static function method() { 20 var_dump(self::method()); 21 var_dump(parent::method());
|
H A D | bug21888.phpt | 2 Bug #21888 (protected property and protected method of the same name) 10 print "protected method\n"; 31 protected method
|
H A D | ns_037.phpt | 14 echo "method ok\n"; 33 method ok 34 method ok 35 method ok
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_reduce_variation3.phpt | 20 echo "\n--- Static method callback ---\n"; 23 echo "\n--- Instance method callback ---\n"; 31 --- Static method callback --- 34 --- Instance method callback ---
|
H A D | array_intersect_uassoc_variation10.phpt | 15 // 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 D | DateTime_fix_createFromFormat.phpt | 20 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 D | DateTime_extends_basic3.phpt | 2 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 D | bug73858.phpt | 6 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 D | bug69655.phpt | 2 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 D | alias-semantics02.phpt | 3 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 D | ReflectionMethod_getClosure_error.phpt | 6 * 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 D | ReflectionClass_toString_002.phpt | 2 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 D | bug64239.phpt | 18 print_r(($method = $obj->getMethod("Bmethod"))); 19 var_dump($method->getName()); 20 var_dump($method->getShortName());
|
H A D | ReflectionClass_FileInfo_error.phpt | 10 foreach ($methods as $method) { 11 var_dump($rc->$method()); 12 var_dump($rc->$method(null)); 13 var_dump($rc->$method('X', 0));
|
H A D | ReflectionObject_FileInfo_error.phpt | 10 foreach ($methods as $method) { 11 var_dump($rc->$method()); 12 var_dump($rc->$method(null)); 13 var_dump($rc->$method('X', 0));
|
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 | ReflectionParameter_invalidMethodInConstructor.phpt | 2 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 D | ReflectionMethod_defaultArg.phpt | 24 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 D | bug45226.phpt | 12 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 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 %d
|
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 %d
|
/PHP-7.3/Zend/tests/nullable_types/ |
H A D | covariant_nullable_return_succeds.phpt | 7 function method(): ?int; 11 function method(): int;
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_interface.phpt | 39 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 D | 022.phpt | 17 function method() { $this->yes = "done"; } 21 $baz->method(); 24 $arr[3]->method();
|