/PHP-8.2/Zend/tests/ |
H A D | bug60139.phpt | 19 $self = $this; 20 $this->x = function() use ($self) {};
|
H A D | bug70957.phpt | 2 Bug #70957 (self::class cannot be resolved with reflection for abstract class) 8 function bar($a = self::class) {}
|
H A D | bug39346.phpt | 12 self::$instances[$this->_id] = $this; 16 unset(self::$instances[$this->_id]);
|
H A D | selfParent_001.phpt | 7 const myDynConst = self::myConst; 10 var_dump(self::myDynConst);
|
H A D | selfParent_002.phpt | 7 const myDynConst = self::myConst; 10 var_dump(self::myDynConst);
|
/PHP-8.2/ext/reflection/tests/ |
H A D | gh11937_1.phpt | 9 const CASES = [self::One, self::Two];
|
H A D | bug45765.phpt | 2 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 D | bug39884.phpt | 2 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self) 7 function paramTest(self $param)
|
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
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | noval_001.phpt | 19 if (self::X) { 22 if (self::X) {
|
/PHP-8.2/main/streams/ |
H A D | memory.c | 291 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 D | property_override_privateStatic_privateStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_privateStatic_protectedStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_privateStatic_publicStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_protectedStatic_publicStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_publicStatic_publicStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
H A D | property_override_protectedStatic_protectedStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
/PHP-8.2/Zend/tests/enum/ |
H A D | ast-dumper.phpt | 18 public function self() { 41 public function self() {
|
/PHP-8.2/Zend/tests/traits/ |
H A D | abstract_method_9.phpt | 2 Abstract method in trait using "self" (delayed obligation) 9 abstract private function method($x): self;
|
/PHP-8.2/ext/spl/tests/ |
H A D | RecursiveIteratorIterator_dtor_order.phpt | 10 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 D | bug77664.phpt | 7 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 D | static_variance_success.phpt | 7 public function test1(): self {} 10 public function test4(): X|Y|self {}
|
/PHP-8.2/sapi/fpm/tests/ |
H A D | logtool.inc | 237 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 D | ServerClientTestCase.inc | 76 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 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()
|