/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionParameter_getClass_self_parent_closure.phpt | 2 Using invalid self/parent types in closure 6 $fn1 = function(self $x) {}; 31 Parameter uses "self" as type but function is not a class member
|
H A D | bug51905.phpt | 2 Bug #51905 (ReflectionParameter fails if default value is an array with an access to self::) 12 public function x($x = 1, $y = array(self::X), $z = parent::Y) {}
|
H A D | bug38465.phpt | 2 Bug #38465 (ReflectionParameter fails on access to self::) 11 public function x($a = self::X, $b = Baz::B, $c = 99) {} 16 public function y($a = self::Y, $b = Baz::B, $c = 99) {}
|
H A D | ReflectionEnum_getCases.phpt | 9 const Baz = self::Bar; 15 const Baz = self::Bar;
|
/PHP-8.2/Zend/tests/ |
H A D | gh10935.phpt | 9 return self::$test; 18 return self::$test; 31 return self::$test; 43 return self::$test;
|
H A D | bug30702.phpt | 15 public $c3=self::C1; 16 public $c4=self::C2;
|
H A D | bug65372.phpt | 12 self::$_OBJECTS[1] = new ChildClass(); 13 return self::$_OBJECTS[1];
|
H A D | bug38220.phpt | 49 if (is_null(self::$drv)) 50 self::$drv = new drv; 51 return self::$drv;
|
H A D | bug66811.phpt | 8 var_dump(self::class); 23 var_dump(self::class);
|
H A D | bug78921.phpt | 15 self::$otherStatic = self::$privateStaticVarArray;
|
H A D | dereference_012.phpt | 10 self::$x = array(1, 2, 3); 11 return self::$x;
|
H A D | bug43332_1.phpt | 2 Bug #43332.1 (self and parent as type hint in namespace) 8 public function bar(self $a) { }
|
/PHP-8.2/Zend/tests/type_declarations/variance/ |
H A D | static_variance_success.phpt | 7 public function test1(): self {} 10 public function test4(): X|Y|self {}
|
/PHP-8.2/ext/fileinfo/ |
H A D | fileinfo.c | 257 zval *self; in PHP_FUNCTION() local 259 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &self, finfo_class_entry) == FAILURE) { in PHP_FUNCTION() 272 zval *self; in PHP_FUNCTION() local 274 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ol", &self, finfo_class_entry, &opti… in PHP_FUNCTION() 277 FILEINFO_FROM_OBJECT(finfo, self); in PHP_FUNCTION() 330 zval *self; in _php_finfo_get_type() local 331 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os|lr!", &self, finfo_class_entry, &… in _php_finfo_get_type() 334 FILEINFO_FROM_OBJECT(finfo, self); in _php_finfo_get_type()
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | count_001.phpt | 23 $x = [self::create_array(5)]; 24 echo count(self::create_array(0)), "\n"; 25 echo count(self::create_array(1)), "\n";
|
/PHP-8.2/Zend/tests/fibers/ |
H A D | resume-running-fiber.phpt | 7 $self = Fiber::getCurrent(); 8 $self->resume();
|
/PHP-8.2/tests/classes/ |
H A D | property_override_protectedStatic_privateStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_publicStatic_privateStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_publicStatic_protectedStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
/PHP-8.2/ext/phar/phar/ |
H A D | pharcommand.inc | 259 self::notice($msg); 261 self::error($msg); 266 return self::cli_arg_typ_file($arg); 955 return self::phar_args('FE', 'phar'); 1092 $args = self::phar_args('Fs', 'phar'); 1135 return self::phar_args('FCe', 'phar'); 1195 return self::phar_args('FHy', 'phar'); 1317 return self::phar_args('Fek', 'phar'); 1385 return self::phar_args('Fek', 'phar'); 1459 return self::phar_args('Fk', 'phar'); [all …]
|
/PHP-8.2/Zend/tests/closures/ |
H A D | closure_from_callable.inc | 83 return Closure::fromCallable('self::publicInstanceFunc'); 119 return Closure::fromCallable('self::publicInstanceFunc'); 125 return Closure::fromCallable('self::protectedInstanceFunc'); 130 return Closure::fromCallable('self::privateInstanceFunc');
|
/PHP-8.2/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 132 return lo_write(self->conn, self->lfd, (char*)buf, count); in pgsql_lob_write() 138 return lo_read(self->conn, self->lfd, buf, count); in pgsql_lob_read() 147 lo_close(self->conn, self->lfd); in pgsql_lob_close() 151 efree(self); in pgsql_lob_close() 165 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() 167 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek() 188 struct pdo_pgsql_lob_self *self = ecalloc(1, sizeof(*self)); in pdo_pgsql_create_lob_stream() local 192 self->lfd = lfd; in pdo_pgsql_create_lob_stream() 193 self->oid = oid; in pdo_pgsql_create_lob_stream() 194 self->conn = H->server; in pdo_pgsql_create_lob_stream() [all …]
|
/PHP-8.2/ext/opcache/tests/ |
H A D | bug73746.phpt | 19 return self::CZ; // Works correctly if changed to CountryMapping::CZ 21 return self::EN; // Works correctly if changed to CountryMapping::EN
|
/PHP-8.2/ext/intl/tests/ |
H A D | timezone_equals_basic.phpt | 11 echo "Comparison to self:\n"; 22 Comparison to self:
|
/PHP-8.2/Zend/tests/type_declarations/union_types/ |
H A D | anonymous_class.phpt | 7 public function testParam(self|string $a) 10 public function test(): self|string
|