/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionObject_isInstantiable_variation.phpt | 8 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 D | ReflectionClassConstant_getValue.phpt | 8 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 D | dualiterator.inc | 98 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 D | token_get_all_TOKEN_PARSE_002.phpt | 10 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 D | bug63336.phpt | 10 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 D | closure_037.phpt | 2 Closure 037: self:: and static:: within closures 11 self::printX(); 12 self::print42();
|
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 | 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 | 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 | bug79862.phpt | 20 var_dump(self::$prop1); 21 var_dump(self::$prop2); 22 var_dump(self::$prop5); 23 var_dump(self::$prop6);
|
H A D | bug41633_4.phpt | 2 Bug #41633.4 (self:: doesn't work for constants) 6 const A = self::B;
|
H A D | special_name_error1.phpt | 6 namespace self; 10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
|
H A D | bug65419.phpt | 2 Bug #65419 (Inside trait, self::class != __CLASS__) 9 echo self::class, "\n";
|
/PHP-7.4/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-7.4/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); 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 D | stream_test.inc | 17 $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 D | bug73789.phpt | 15 $type = self::T_NONE; 23 return self::T_STRING; 25 return self::T_DOT;
|
/PHP-7.4/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-7.4/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-7.4/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-7.4/ext/zip/ |
H A D | php_zip.c | 1441 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 D | self_on_closure_in_method.phpt | 2 self return type on closure in a method 8 return function() : self {
|
/PHP-7.4/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 152 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 D | phar_setdefaultstub.phpt | 172 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 …]
|