Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-8.1/main/streams/
H A Dmemory.c287 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 Dclosure_from_callable_basic.phpt74 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 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.1/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_protectedStatic.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_privateStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
/PHP-8.1/ext/reflection/tests/
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
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) {}
/PHP-8.1/Zend/tests/enum/
H A Dast-dumper.phpt18 public function self() {
41 public function self() {
/PHP-8.1/Zend/tests/
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);
H A Dbug37138.phpt2 Bug #37138 (autoloader tries to load callback'ed self and parent)
8 public static function e2 () {call_user_func (array ('self', 'e'));}
H A Dbug30702.phpt15 public $c3=self::C1;
16 public $c4=self::C2;
/PHP-8.1/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.1/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.1/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
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 Dstatic_variance_success.phpt7 public function test1(): self {}
10 public function test4(): X|Y|self {}
/PHP-8.1/Zend/tests/fibers/
H A Dresume-running-fiber.phpt7 $self = Fiber::getCurrent();
8 $self->resume();
/PHP-8.1/ext/opcache/tests/jit/
H A Dcount_001.phpt24 $x = [self::create_array(5)];
25 echo count(self::create_array(0)), "\n";
26 echo count(self::create_array(1)), "\n";

Completed in 29 milliseconds

12345678910>>...16