Searched refs:self (Results 76 – 100 of 398) sorted by relevance
12345678910>>...16
/PHP-8.1/Zend/tests/ |
H A D | closure_037.phpt | 2 Closure 037: self:: and static:: within closures 11 self::printX(); 12 self::print42();
|
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 | 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 | 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;
|
H A D | bug74053.phpt | 15 if (self::$max-- <= 0) return; 17 self::$b = new b; 18 self::$new[] = new a;
|
H A D | objects_024.phpt | 10 self::$bar[] = $b; 15 return self::$bar[count(self::$bar)-1];
|
H A D | bug32322.phpt | 2 Bug #32322 (Return values by reference broken( using self::),example singleton instance) 20 if ( self::$instance == null ) 22 self::$instance = new test('Singleton1'); 25 echo "Using old class " . self::$instance -> myname . "\n"; 27 return self::$instance;
|
H A D | bug65419.phpt | 2 Bug #65419 (Inside trait, self::class != __CLASS__) 9 echo self::class, "\n";
|
H A D | special_name_error3.phpt | 6 trait self {} 10 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|
/PHP-8.1/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.1/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.1/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-8.1/ext/phar/tests/ |
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 …]
|
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 …]
|
/PHP-8.1/ext/iconv/ |
H A D | iconv.c | 2319 iconv_close(self->cd); in php_iconv_stream_filter_dtor() 2320 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor() 2321 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor() 2340 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor() 2346 self->stub_len = 0; in php_iconv_stream_filter_ctor() 2380 pt = self->stub; in php_iconv_stream_filter_append_bucket() 2381 tcnt = self->stub_len; in php_iconv_stream_filter_append_bucket() 2393 if (self->stub_len >= sizeof(self->stub)) { in php_iconv_stream_filter_append_bucket() 2397 self->stub[self->stub_len++] = *(ps++); in php_iconv_stream_filter_append_bucket() 2399 pt = self->stub; in php_iconv_stream_filter_append_bucket() [all …]
|
/PHP-8.1/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.1/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.1/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.1/Zend/tests/type_declarations/ |
H A D | typed_properties_080.phpt | 13 self::$a; 18 self::$b; 23 self::$c;
|
H A D | self_on_closure_in_method.phpt | 2 self return type on closure in a method 8 return function() : self {
|
/PHP-8.1/tests/lang/ |
H A D | bug21849.phpt | 2 Bug #21849 (self::constant doesn't work as method's default parameter) 8 function __construct($arg = self::bar) {
|
/PHP-8.1/ext/phar/tests/files/ |
H A D | include_path2.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
Completed in 40 milliseconds
12345678910>>...16