/PHP-8.1/main/streams/ |
H A D | memory.c | 287 php_stream_memory_data *self; in _php_stream_memory_create() local 290 self = emalloc(sizeof(*self)); in _php_stream_memory_create() 291 self->data = ZSTR_EMPTY_ALLOC(); in _php_stream_memory_create() 292 self->fpos = 0; in _php_stream_memory_create() 293 self->mode = mode; in _php_stream_memory_create() 545 php_stream_temp_data *self; in _php_stream_temp_create_ex() local 548 self = ecalloc(1, sizeof(*self)); in _php_stream_temp_create_ex() 549 self->smax = max_memory_usage; in _php_stream_temp_create_ex() 550 self->mode = mode; in _php_stream_temp_create_ex() 551 ZVAL_UNDEF(&self->meta); in _php_stream_temp_create_ex() [all …]
|
/PHP-8.1/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 74 echo 'Access public instance method of self object through "self::" '; 79 echo 'Access public instance method of parent object through "self::" to parent method'; 84 echo 'Access protected instance method of parent object through "self::" to parent method'; 115 Access public instance method of self object through "self::" OK 116 Access public instance method of parent object through "self::" to parent method OK 117 Access protected instance method of parent object through "self::" to parent method OK
|
/PHP-8.1/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.1/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_protectedStatic.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_privateStatic.phpt | 10 echo self::$p . "\n"; 19 echo self::$p . "\n";
|
/PHP-8.1/ext/reflection/tests/ |
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
|
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) {}
|
/PHP-8.1/Zend/tests/enum/ |
H A D | ast-dumper.phpt | 18 public function self() { 41 public function self() {
|
/PHP-8.1/Zend/tests/ |
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);
|
H A D | bug37138.phpt | 2 Bug #37138 (autoloader tries to load callback'ed self and parent) 8 public static function e2 () {call_user_func (array ('self', 'e'));}
|
H A D | bug30702.phpt | 15 public $c3=self::C1; 16 public $c4=self::C2;
|
/PHP-8.1/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.1/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.1/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 516 …$pattern = sprintf('/^(?:%s )?%s: %s(%s)$/', self::P_TIME, $type, self::P_DEBUG, $expectedMessage); 527 … $types = implode('|', [self::NOTICE, self::WARNING, self::ERROR, self::ALERT]); 528 … $errorPattern = sprintf('/^(?:%s )?(%s): %s(.*)$/', self::P_TIME, $types, self::P_DEBUG); 569 string $ignoreErrorFor = self::DEBUG [all …]
|
/PHP-8.1/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.1/Zend/tests/fibers/ |
H A D | resume-running-fiber.phpt | 7 $self = Fiber::getCurrent(); 8 $self->resume();
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | count_001.phpt | 24 $x = [self::create_array(5)]; 25 echo count(self::create_array(0)), "\n"; 26 echo count(self::create_array(1)), "\n";
|