Home
last modified time | relevance | path

Searched refs:self (Results 176 – 200 of 418) sorted by relevance

12345678910>>...17

/PHP-8.2/ext/reflection/tests/
H A DReflectionParameter_getClass_self_parent_closure.phpt2 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 Dbug51905.phpt2 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 Dbug38465.phpt2 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 DReflectionEnum_getCases.phpt9 const Baz = self::Bar;
15 const Baz = self::Bar;
/PHP-8.2/Zend/tests/
H A Dgh10935.phpt9 return self::$test;
18 return self::$test;
31 return self::$test;
43 return self::$test;
H A Dbug30702.phpt15 public $c3=self::C1;
16 public $c4=self::C2;
H A Dbug65372.phpt12 self::$_OBJECTS[1] = new ChildClass();
13 return self::$_OBJECTS[1];
H A Dbug38220.phpt49 if (is_null(self::$drv))
50 self::$drv = new drv;
51 return self::$drv;
H A Dbug66811.phpt8 var_dump(self::class);
23 var_dump(self::class);
H A Dbug78921.phpt15 self::$otherStatic = self::$privateStaticVarArray;
H A Ddereference_012.phpt10 self::$x = array(1, 2, 3);
11 return self::$x;
H A Dbug43332_1.phpt2 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 Dstatic_variance_success.phpt7 public function test1(): self {}
10 public function test4(): X|Y|self {}
/PHP-8.2/ext/fileinfo/
H A Dfileinfo.c257 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 Dcount_001.phpt23 $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 Dresume-running-fiber.phpt7 $self = Fiber::getCurrent();
8 $self->resume();
/PHP-8.2/tests/classes/
H A Dproperty_override_protectedStatic_privateStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_publicStatic_privateStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_publicStatic_protectedStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
/PHP-8.2/ext/phar/phar/
H A Dpharcommand.inc259 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 Dclosure_from_callable.inc83 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 Dpgsql_driver.c132 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 Dbug73746.phpt19 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 Dtimezone_equals_basic.phpt11 echo "Comparison to self:\n";
22 Comparison to self:
/PHP-8.2/Zend/tests/type_declarations/union_types/
H A Danonymous_class.phpt7 public function testParam(self|string $a)
10 public function test(): self|string

Completed in 38 milliseconds

12345678910>>...17