Home
last modified time | relevance | path

Searched refs:self (Results 51 – 75 of 328) sorted by relevance

12345678910>>...14

/PHP-7.4/ext/reflection/tests/
H A DReflectionObject_isInstantiable_variation.phpt8 return new ReflectionObject(new self);
15 return new ReflectionObject(new self);
22 return new ReflectionObject(new self);
29 return new ReflectionObject(new self);
36 return new ReflectionObject(new self);
43 return new ReflectionObject(new self);
50 return new ReflectionObject(new self);
H A DReflectionClassConstant_getValue.phpt8 const X = self::Y * 2;
12 const X = self::Y * 2;
16 const X = self::Y * 2;
/PHP-7.4/ext/spl/tests/
H A Ddualiterator.inc98 case self::CURRENT_ARRAY:
100 case self::CURRENT_LHS:
102 case self::CURRENT_RHS:
104 case self::CURRENT_0:
116 case self::KEY_LHS:
118 case self::KEY_RHS:
120 case self::KEY_0:
173 self::CURRENT_0 | self::KEY_0);
183 $it = new DualIterator($lhs, $rhs, self::CURRENT_0 | self::KEY_0);
/PHP-7.4/ext/tokenizer/tests/
H A Dtoken_get_all_TOKEN_PARSE_002.phpt10 const CONTINUE = (self::CONST + 1);
11 const ARRAY = [1, self::CONTINUE => [3, 4], 5];
41 L4: T_STRING self
54 L5: T_STRING self
/PHP-7.4/Zend/tests/
H A Dbug63336.phpt10 public function bar($more=self::DUMMY) { return true; }
16 public function bar($var, $more=self::DUMMY) { return true; }
22 …ning: Declaration of Child::bar($var, $more = self::DUMMY) should be compatible with Base::bar($mo…
H A Dclosure_037.phpt2 Closure 037: self:: and static:: within closures
11 self::printX();
12 self::print42();
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 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 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 Dbug79862.phpt20 var_dump(self::$prop1);
21 var_dump(self::$prop2);
22 var_dump(self::$prop5);
23 var_dump(self::$prop6);
H A Dbug41633_4.phpt2 Bug #41633.4 (self:: doesn't work for constants)
6 const A = self::B;
H A Dspecial_name_error1.phpt6 namespace self;
10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
H A Dbug65419.phpt2 Bug #65419 (Inside trait, self::class != __CLASS__)
9 echo self::class, "\n";
/PHP-7.4/tests/classes/
H A Dconstants_visibility_004.phpt12 var_dump(self::X);
13 var_dump(self::Y);
14 var_dump(self::Z);
/PHP-7.4/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);
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");
298 self::cli_cmd_run_help_list();
[all …]
/PHP-7.4/ext/sqlite3/tests/
H A Dstream_test.inc17 $ret = substr(self::$string, $this->position, $count);
29 return array('size' => self::$string_length);
39 return ($this->position >= self::$string_length);
/PHP-7.4/ext/opcache/tests/
H A Dbug73789.phpt15 $type = self::T_NONE;
23 return self::T_STRING;
25 return self::T_DOT;
/PHP-7.4/Zend/tests/use_const/
H A Dself_parent.phpt2 Allow self and parent in use const statement
7 use const self as foo;
/PHP-7.4/Zend/tests/use_function/
H A Dself_parent.phpt2 Allow self and parent in use function statement
7 use function self as foo;
/PHP-7.4/Zend/tests/return_types/
H A D025.phpt2 Return type of self is allowed in closure
6 $c = function(): self { return $this; };
/PHP-7.4/ext/zip/
H A Dphp_zip.c1441 zval *self = ZEND_THIS; local
1449 ze_obj = Z_ZIP_P(self);
1511 zval *self = ZEND_THIS; local
1539 zval *self = ZEND_THIS; local
1545 ze_obj = Z_ZIP_P(self);
1574 zval *self = ZEND_THIS; local
1589 zval *self = ZEND_THIS; local
1617 zval *self = ZEND_THIS; local
1665 zval *self = ZEND_THIS; local
1790 zval *self = ZEND_THIS; local
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dself_on_closure_in_method.phpt2 self return type on closure in a method
8 return function() : self {
/PHP-7.4/ext/phar/tests/
H A Dphar_createdefaultstub.phpt152 fseek($fp, self::LEN);
174 if ($f & self::GZ) {
181 if ($f & self::BZ2) {
201 self::$temp = $temp;
228 include self::START;
468 if ($f & self::GZ) {
495 self::$temp = $temp;
522 include self::START;
770 if ($f & self::GZ) {
797 self::$temp = $temp;
[all …]
H A Dphar_setdefaultstub.phpt172 fseek($fp, self::LEN);
194 if ($f & self::GZ) {
201 if ($f & self::BZ2) {
221 self::$temp = $temp;
248 include self::START;
489 if ($f & self::GZ) {
516 self::$temp = $temp;
543 include self::START;
784 if ($f & self::GZ) {
811 self::$temp = $temp;
[all …]

Completed in 41 milliseconds

12345678910>>...14