Searched refs:method (Results 151 – 175 of 1024) sorted by relevance
12345678910>>...41
/php-src/Zend/tests/traits/ |
H A D | no_static_arg_binding.phpt | 7 public static function method($arg) { 11 self::method($i); 19 public static function method(&$arg) {
|
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-src/ext/spl/tests/ |
H A D | spl_autoload_007.phpt | 55 … ($callback) must be a valid callback or null, class MyAutoLoader does not have a method "notExist" 58 …#1 ($callback) must be a valid callback or null, cannot access protected method MyAutoLoader::noAc… 64 …(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::dyna… 72 … ($callback) must be a valid callback or null, class MyAutoLoader does not have a method "notExist" 80 …#1 ($callback) must be a valid callback or null, cannot access protected method MyAutoLoader::noAc… 96 …(): Argument #1 ($callback) must be a valid callback or null, non-static method MyAutoLoader::dyna… 105 … ($callback) must be a valid callback or null, class MyAutoLoader does not have a method "notExist" 114 …#1 ($callback) must be a valid callback or null, cannot access protected method MyAutoLoader::noAc…
|
/php-src/Zend/tests/ |
H A D | bug80126_2.phpt | 7 public function method(): I; 11 public function method(): I { 21 public function method(): C2 { }
|
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 | 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();
|
H A D | bug78344.phpt | 12 public function method() { 16 (new C)->method(); 22 #0 %s(%d): C->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
|
/php-src/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-src/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-src/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-src/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-src/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.
|
Completed in 29 milliseconds
12345678910>>...41