Home
last modified time | relevance | path

Searched refs:self (Results 151 – 175 of 414) sorted by relevance

12345678910>>...17

/PHP-8.2/Zend/tests/
H A Dbug60139.phpt19 $self = $this;
20 $this->x = function() use ($self) {};
H A Dbug70957.phpt2 Bug #70957 (self::class cannot be resolved with reflection for abstract class)
8 function bar($a = self::class) {}
H A Dbug39346.phpt12 self::$instances[$this->_id] = $this;
16 unset(self::$instances[$this->_id]);
H A DselfParent_001.phpt7 const myDynConst = self::myConst;
10 var_dump(self::myDynConst);
H A DselfParent_002.phpt7 const myDynConst = self::myConst;
10 var_dump(self::myDynConst);
/PHP-8.2/ext/reflection/tests/
H A Dgh11937_1.phpt9 const CASES = [self::One, self::Two];
H A Dbug45765.phpt2 Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)
13 function test($a = self::BAR) {
54 Parameter #0 [ <optional> $a = self::BAR ]
H A Dbug39884.phpt2 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self)
7 function paramTest(self $param)
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
/PHP-8.2/ext/opcache/tests/jit/
H A Dnoval_001.phpt19 if (self::X) {
22 if (self::X) {
/PHP-8.2/main/streams/
H A Dmemory.c291 php_stream_memory_data *self; in _php_stream_memory_create() local
294 self = emalloc(sizeof(*self)); in _php_stream_memory_create()
295 self->data = ZSTR_EMPTY_ALLOC(); in _php_stream_memory_create()
296 self->fpos = 0; in _php_stream_memory_create()
297 self->mode = mode; in _php_stream_memory_create()
549 php_stream_temp_data *self; in _php_stream_temp_create_ex() local
552 self = ecalloc(1, sizeof(*self)); in _php_stream_temp_create_ex()
553 self->smax = max_memory_usage; in _php_stream_temp_create_ex()
554 self->mode = mode; in _php_stream_temp_create_ex()
555 ZVAL_UNDEF(&self->meta); in _php_stream_temp_create_ex()
[all …]
/PHP-8.2/tests/classes/
H A Dproperty_override_privateStatic_privateStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_privateStatic_protectedStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_privateStatic_publicStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_protectedStatic_publicStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_publicStatic_publicStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_protectedStatic_protectedStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
/PHP-8.2/Zend/tests/enum/
H A Dast-dumper.phpt18 public function self() {
41 public function self() {
/PHP-8.2/Zend/tests/traits/
H A Dabstract_method_9.phpt2 Abstract method in trait using "self" (delayed obligation)
9 abstract private function method($x): self;
/PHP-8.2/ext/spl/tests/
H A DRecursiveIteratorIterator_dtor_order.phpt10 eval('class self {}'); // Cause a bailout.
14 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
/PHP-8.2/ext/standard/tests/streams/
H A Dbug77664.phpt7 public $var = self::INVALID;
13 Fatal error: Uncaught Error: Undefined constant self::INVALID in %s:%d
/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/sapi/fpm/tests/
H A Dlogtool.inc237 self::P_TIME,
239 self::P_DEBUG,
240 $isStdErr ? self::P_PREFIX : self::P_PREFIX_STDOUT
258 self::P_TIME,
260 self::P_DEBUG,
261 $isStdErr ? self::P_PREFIX : self::P_PREFIX_STDOUT
520 $pattern = sprintf('/^(?:%s )?%s: %s(%s)$/', self::P_TIME, $type, self::P_DEBUG, $expectRe);
531 … $types = implode('|', [self::NOTICE, self::WARNING, self::ERROR, self::ALERT]);
532 … $errorPattern = sprintf('/^(?:%s )?(%s): %s(.*)$/', self::P_TIME, $types, self::P_DEBUG);
573 string $ignoreErrorFor = self::DEBUG
[all …]
/PHP-8.2/ext/openssl/tests/
H A DServerClientTestCase.inc76 if (!isset(self::$instance)) {
77 self::$instance = new self($isWorker);
80 return self::$instance;
85 if (!isset(self::$instance)) {
86 self::$instance = $this;
/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()

Completed in 30 milliseconds

12345678910>>...17