Searched refs:self (Results 76 – 100 of 414) sorted by relevance
12345678910>>...17
/PHP-8.2/Zend/tests/ |
H A D | lsb_018.phpt | 13 if (!isset(self::$instances[$caller])) { 14 self::$instances[$caller] = new $caller; 15 self::$instances[$caller]->instanceId = self::$nextInstanceId++; 17 return self::$instances[$caller];
|
H A D | closure_037.phpt | 2 Closure 037: self:: and static:: within closures 11 self::printX(); 12 self::print42();
|
H A D | gh13670_002.phpt | 17 public $self; 19 $this->self = $this; 24 public $self; 26 $this->self = $this;
|
H A D | bug50816.phpt | 12 public static $mapWithConst = array(self::ONE => 'one', self::TWO => 'two',); 14 public static $mapWithConst1 = array(1 => 'one', self::TWO => 'two',); 15 public static $mapWithConst2 = array(self::ONE => 'one', 1 => 'two',);
|
H A D | gh13670_003.phpt | 17 public $self; 19 $this->self = $this; 24 public $self; 26 $this->self = $this;
|
H A D | bug79862.phpt | 21 var_dump(self::$prop1); 22 var_dump(self::$prop2); 23 var_dump(self::$prop5); 24 var_dump(self::$prop6);
|
H A D | bug37138.phpt | 2 Bug #37138 (autoloader tries to load callback'ed self and parent) 8 public static function e2 () {call_user_func (array ('self', 'e'));} 20 Deprecated: Use of "self" in callables is deprecated in %s on line %d
|
H A D | class_properties_dynamic.phpt | 8 public $bar = self::BAR | self::BAZ;
|
H A D | bug41633_1.phpt | 2 Bug #41633.1 (self:: doesn't work for constants) 6 const A = self::B;
|
H A D | bug41633_4.phpt | 2 Bug #41633.4 (self:: doesn't work for constants) 6 const A = self::B;
|
/PHP-8.2/tests/classes/ |
H A D | constants_visibility_004.phpt | 12 var_dump(self::X); 13 var_dump(self::Y); 14 var_dump(self::Z);
|
/PHP-8.2/ext/opcache/tests/ |
H A D | bug73789.phpt | 15 $type = self::T_NONE; 23 return self::T_STRING; 25 return self::T_DOT;
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | reg_alloc_001.phpt | 23 $type |= self::EXCLUDE_PUBLIC; 25 $type |= self::EXCLUDE_PRIVATE; 28 if ((self::EXCLUDE_STRICT & $filter) ? $type === $filter : $type) {
|
/PHP-8.2/ext/phar/phar/ |
H A D | clicommand.inc | 29 $this->cmds = self::getCommands($this); 30 $this->typs = self::getArgTyps($this); 33 self::error("No command given, check {$argv[0]} help\n"); 83 self::error($missing); 97 self::notice($msg); 143 return self::getSubFuncs($cmdclass, 'cli_arg_', array('typ')); 154 self::error("Argument to -$key must be an integer.\n"); 186 self::error("Requested path '$arg' does not exist.\n"); 208 self::error("Path for file '$arg' does not exist.\n"); 292 self::error("More than one command given.\n"); [all …]
|
/PHP-8.2/ext/reflection/tests/ |
H A D | bug80190.phpt | 8 public function a(): self 12 public function b(): stdClass|self 51 $method->getReturnType()->__toString() returns self 55 $method->getReturnType()->__toString() returns stdClass|self 57 type(s) in union: ReflectionNamedType(stdClass), ReflectionNamedType(self)
|
H A D | ReflectionClassConstant_getValue.phpt | 8 const X = self::Y * 2; 12 const X = self::Y * 2; 16 const X = self::Y * 2;
|
/PHP-8.2/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 74 echo 'Access public instance method of self object through "self::" '; 79 echo 'Access public instance method of parent object through "self::" to parent method'; 84 echo 'Access protected instance method of parent object through "self::" to parent method'; 117 Access public instance method of self object through "self::" 118 Deprecated: Use of "self" in callables is deprecated in %s on line %d 120 Access public instance method of parent object through "self::" to parent method 121 Deprecated: Use of "self" in callables is deprecated in %s on line %d 123 Access protected instance method of parent object through "self::" to parent method 124 Deprecated: Use of "self" in callables is deprecated in %s on line %d
|
/PHP-8.2/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 171 fseek($fp, self::LEN); 193 if ($f & self::GZ) { 200 if ($f & self::BZ2) { 220 self::$temp = $temp; 247 include self::START; 488 if ($f & self::GZ) { 515 self::$temp = $temp; 542 include self::START; 783 if ($f & self::GZ) { 810 self::$temp = $temp; [all …]
|
H A D | phar_createdefaultstub.phpt | 151 fseek($fp, self::LEN); 173 if ($f & self::GZ) { 180 if ($f & self::BZ2) { 200 self::$temp = $temp; 227 include self::START; 467 if ($f & self::GZ) { 494 self::$temp = $temp; 521 include self::START; 769 if ($f & self::GZ) { 796 self::$temp = $temp; [all …]
|
/PHP-8.2/ext/sqlite3/tests/ |
H A D | stream_test.inc | 18 $ret = substr(self::$string, $this->position, $count); 30 return array('size' => self::$string_length); 40 return ($this->position >= self::$string_length);
|
/PHP-8.2/ext/iconv/ |
H A D | iconv.c | 2311 iconv_close(self->cd); in php_iconv_stream_filter_dtor() 2312 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor() 2313 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor() 2332 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor() 2338 self->stub_len = 0; in php_iconv_stream_filter_ctor() 2372 pt = self->stub; in php_iconv_stream_filter_append_bucket() 2373 tcnt = self->stub_len; in php_iconv_stream_filter_append_bucket() 2385 if (self->stub_len >= sizeof(self->stub)) { in php_iconv_stream_filter_append_bucket() 2389 self->stub[self->stub_len++] = *(ps++); in php_iconv_stream_filter_append_bucket() 2391 pt = self->stub; in php_iconv_stream_filter_append_bucket() [all …]
|
/PHP-8.2/Zend/tests/use_const/ |
H A D | self_parent.phpt | 2 Allow self and parent in use const statement 7 use const self as foo;
|
/PHP-8.2/Zend/tests/use_function/ |
H A D | self_parent.phpt | 2 Allow self and parent in use function statement 7 use function self as foo;
|
/PHP-8.2/Zend/tests/return_types/ |
H A D | 025.phpt | 2 Return type of self is allowed in closure 6 $c = function(): self { return $this; };
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_080.phpt | 13 self::$a; 18 self::$b; 23 self::$c;
|
Completed in 56 milliseconds
12345678910>>...17