Searched refs:method (Results 151 – 175 of 1011) sorted by relevance
12345678910>>...41
/PHP-8.2/Zend/tests/ |
H A D | access_modifiers_008.phpt | 38 echo B1::ma() . "\n"; // protected method defined also in A 40 echo B1::mp() . "\n"; // protected method defined also in A but as private 57 Call to private method A::mp() from scope B2 59 Call to protected method B1::mp() from scope B2 60 Call to protected method B1::mb() from scope B2
|
H A D | ns_010.phpt | 14 echo "method ok\n"; 34 method ok 35 method ok 36 method ok
|
H A D | methods-on-non-objects-catch.phpt | 2 Catch method calls on non-objects raise recoverable errors 11 var_dump($x->method()); 19 string(%d) "Call to a member function method() on null"
|
H A D | bug30451.phpt | 10 protected static function method() { 20 var_dump(self::method()); 21 var_dump(parent::method());
|
H A D | ns_037.phpt | 14 echo "method ok\n"; 34 method ok 35 method ok 36 method ok
|
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 | bug78344.phpt | 12 public function method() { 16 (new C)->method(); 22 #0 %s(%d): C->method()
|
H A D | static_variable_in_private_trait_method.phpt | 2 Behavior of static variable in private trait method 7 private static function method() { 14 return self::method();
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_intersect_uassoc_variation10.phpt | 10 // define some class with method 23 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\… 27 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --… 34 -- Testing array_intersect_uassoc() function using class with static method as callback -- 44 -- Testing array_intersect_uassoc() function using class with regular method as callback --
|
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionMethod_getClosure_basic.phpt | 31 $method = $staticclass->getMethod( 'foo' ); 32 $closure = $method->getClosure(); 35 $method = $class->getMethod( 'foo' ); 37 $closure = $method->getClosure( $object );
|
H A D | ReflectionMethod_getStaticVariables_basic.phpt | 23 echo "Public method:\n"; 27 echo "\nPrivate method:\n"; 41 Public method: 51 Private method:
|
H A D | bug69180.phpt | 2 Bug #69180: Reflection does not honor trait conflict resolution / method aliasing 30 foreach ($class->getMethods() as $method) { 31 var_dump($method->getName());
|
H A D | bug74673.phpt | 8 public function method($test = PHP_SELF + 1) 34 Method [ <user> public method method ] {
|
H A D | gh9409.phpt | 2 GH-9409: Private method is incorrectly dumped as "overwrites" 19 Method [ <user> private method privateMethod ] { 22 Method [ <user> private method privateMethod ] {
|
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());
|
/PHP-8.2/Zend/tests/traits/ |
H A D | bug54441.phpt | 2 Bug #54441 (Changing trait static method visibility) 19 Fatal error: The modifiers of the trait method dontKnow() are changed, but this method does not exi…
|
H A D | abstract_method_9.phpt | 2 Abstract method in trait using "self" (delayed obligation) 9 abstract private function method($x): self; 15 private function method($x): D {
|
/PHP-8.2/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-8.2/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"; 26 Format method: Thu., Nov. 29, 2012 5:00PM 27 createFromFormat method: Thu., Nov. 29, 2012 5:00PM
|
H A D | DateTime_extends_basic3.phpt | 2 Test DateTime class inheritance : with user space format() method 8 echo "*** Testing new DateTime() : with user format() method ***\n"; 23 *** Testing new DateTime() : with user format() method ***
|
/PHP-8.2/Zend/tests/traits/bugs/ |
H A D | alias-semantics02.phpt | 3 method body of the original method. 4 It should also work in case the method is fully qualified.
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_interface.phpt | 36 foreach ($methods as $k => $method) { 37 if (isset($expected[$method])) { 38 unset($expected[$method]); 41 if ($method == $classname) {
|
/PHP-8.2/ext/intl/tests/ |
H A D | locale_bug74439.phpt | 29 foreach ($methods as $method) { 30 $rm = new ReflectionMethod(Locale::class, $method); 31 …printf("%s: %d, %d\n", $method, $rm->getNumberOfParameters(), $rm->getNumberOfRequiredParameters()…
|
/PHP-8.2/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 10
|
Completed in 26 milliseconds
12345678910>>...41