Home
last modified time | relevance | path

Searched refs:self (Results 76 – 100 of 414) sorted by relevance

12345678910>>...17

/PHP-8.2/Zend/tests/
H A Dlsb_018.phpt13 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 Dclosure_037.phpt2 Closure 037: self:: and static:: within closures
11 self::printX();
12 self::print42();
H A Dgh13670_002.phpt17 public $self;
19 $this->self = $this;
24 public $self;
26 $this->self = $this;
H A Dbug50816.phpt12 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 Dgh13670_003.phpt17 public $self;
19 $this->self = $this;
24 public $self;
26 $this->self = $this;
H A Dbug79862.phpt21 var_dump(self::$prop1);
22 var_dump(self::$prop2);
23 var_dump(self::$prop5);
24 var_dump(self::$prop6);
H A Dbug37138.phpt2 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 Dclass_properties_dynamic.phpt8 public $bar = self::BAR | self::BAZ;
H A Dbug41633_1.phpt2 Bug #41633.1 (self:: doesn't work for constants)
6 const A = self::B;
H A Dbug41633_4.phpt2 Bug #41633.4 (self:: doesn't work for constants)
6 const A = self::B;
/PHP-8.2/tests/classes/
H A Dconstants_visibility_004.phpt12 var_dump(self::X);
13 var_dump(self::Y);
14 var_dump(self::Z);
/PHP-8.2/ext/opcache/tests/
H A Dbug73789.phpt15 $type = self::T_NONE;
23 return self::T_STRING;
25 return self::T_DOT;
/PHP-8.2/ext/opcache/tests/jit/
H A Dreg_alloc_001.phpt23 $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 Dclicommand.inc29 $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 Dbug80190.phpt8 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 DReflectionClassConstant_getValue.phpt8 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 Dclosure_from_callable_basic.phpt74 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 Dphar_setdefaultstub.phpt171 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 Dphar_createdefaultstub.phpt151 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 Dstream_test.inc18 $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 Diconv.c2311 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 Dself_parent.phpt2 Allow self and parent in use const statement
7 use const self as foo;
/PHP-8.2/Zend/tests/use_function/
H A Dself_parent.phpt2 Allow self and parent in use function statement
7 use function self as foo;
/PHP-8.2/Zend/tests/return_types/
H A D025.phpt2 Return type of self is allowed in closure
6 $c = function(): self { return $this; };
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_080.phpt13 self::$a;
18 self::$b;
23 self::$c;

Completed in 56 milliseconds

12345678910>>...17