Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 1834) sorted by relevance

12345678910>>...74

/PHP-8.1/build/
H A Dgen_stub.php259 return $this->isBuiltin && $this->name === 'null';
857 return "$this->className::$this->methodName";
908 return $this->type ?? $this->phpDocType;
924 $type = $this->phpDocType ?? $this->type;
1079 $name = $this->alias ?? $this->name;
1090 $name = $this->alias ?? $this->name;
1102 … $this->alias->methodName, $this->getArgInfoName(), $this->getFlagsAsArginfoString()
1133 if ($this->alias && $this->isDeprecated) {
1335 $this->return = clone $this->return;
1600 $this->type = clone $this->type;
[all …]
/PHP-8.1/Zend/tests/
H A Dclosure_062.phpt2 Closure $this unbinding deprecation
10 var_dump($this);
15 var_dump($this);
28 var_dump($this);
33 var_dump($this);
49 instance scoped, non-static, $this used
51 Warning: Cannot unbind $this of closure using $this in %s on line %d
52 instance scoped, static, $this used
54 static scoped, non-static, $this used
55 static scoped, static, $this used
[all …]
H A Dbug40833.phpt12 if ( isset($this->data[$name]) )
13 return $this->data[$name];
15 return $this->data[$name] = new set($this);
20 $this->modified[$name] = $value;
30 $this->entity = $entity;
31 $this->entity->whatever = $this;
35 $this->entity->whatever = null;
40 $this->clear();
41 // $this->entity->{$this->name} = null;
65 //This will not crash (comment previous & uncomment this to test
H A Dbug78340.phpt12 $this->bytes= self::$files[$path];
13 $this->pos= 0;
14 $this->ino= crc32($path);
19 $chunk= substr($this->bytes, $this->pos, $count);
20 $this->pos+= strlen($chunk);
25 return $this->pos >= strlen($this->bytes);
29 $this->bytes= null;
35 'size' => strlen($this->bytes),
36 'ino' => $this->ino
H A Dforeach_003.phpt11 $this->count = $count;
12 $this->trap = $trap;
16 if ($trap === $this->trap) {
21 function rewind(): void {$this->trap(__FUNCTION__); $this->n = 0;}
22 function valid(): bool {$this->trap(__FUNCTION__); return $this->n < $this->count;}
23 function key(): mixed {$this->trap(__FUNCTION__); return $this->n;}
24 function current(): mixed {$this->trap(__FUNCTION__); return $this->n;}
25 function next(): void {$this->trap(__FUNCTION__); $this->n++;}
H A Dthis_in_isset.phpt2 $this in isset
5 var_dump(isset($this));
7 var_dump(isset($this->foo));
12 var_dump(isset($this->foo->bar));
17 var_dump(isset($this[0]));
25 $this[0] = 5;
26 var_dump(isset($this));
27 var_dump(isset($this->foo));
28 var_dump(isset($this[0]));
H A Dexception_delayed_message.phpt11 $this->messageCallback = static function() {
14 $this->message = new class($this->message, $this->messageCallback) {
20 $this->message = &$message;
21 $this->messageCallback = &$messageCallback;
26 $messageCallback = $this->messageCallback;
27 $this->messageCallback = null;
28 return $this->message = $messageCallback();
/PHP-8.1/ext/standard/tests/array/
H A Dbug77135.phpt2 Test extract() with $this
37 echo " \$this = " . get_class($this) . "\n";
55 $this = Extract
58 $this = Extract
63 $this = Extract
66 $this = Extract
71 $this = Extract
74 $this = Extract
79 $this = Extract
82 $this = Extract
[all …]
/PHP-8.1/tests/lang/
H A D019.phpt18 hey, this is a regular echo'd eval()
19 hey, this is a function inside an eval()!
20 hey, this is a regular echo'd eval()
22 hey, this is a regular echo'd eval()
24 hey, this is a regular echo'd eval()
26 hey, this is a regular echo'd eval()
28 hey, this is a regular echo'd eval()
30 hey, this is a regular echo'd eval()
32 hey, this is a regular echo'd eval()
34 hey, this is a regular echo'd eval()
[all …]
/PHP-8.1/sapi/fpm/tests/
H A Dresponse.inc91 return $this;
108 $this->error(
118 $this->error(
122 return $this;
145 return $this;
165 return $this;
178 return $this;
186 return $this;
277 $this->error("The response is invalid: $this->rawData");
379 $this->rawData = $this->data['out_response'];
[all …]
H A Dlogtool.inc92 $this->position = 0;
157 $this->popError();
161 echo $this->popError();
248 while (strlen($this->message) !== $this->position) {
308 $rem = strlen($this->message) - $this->position;
313 if ( ! $this->checkMessage($out, $this->position, $useLine)) {
405 $this->traceMatch(
580 $this->popError();
792 if ($this->debug) {
804 if ($this->debug) {
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dinclude_userstream_002.phpt20 $this->pos = strlen($this->data);
22 $this->po = 0;
29 if (!empty($this->stream)) {
32 $ret = substr($this->data, $this->pos, $count);
33 $this->pos += strlen($ret);
39 if (!empty($this->stream)) {
42 return $this->pos;
47 if (!empty($this->stream)) {
50 return $this->pos >= strlen($this->data);
55 if (!empty($this->stream)) {
[all …]
H A Dbug38450.phpt17 $this->varname = $url["host"];
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
33 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
[all …]
H A Dbug38450_1.phpt17 $this->varname = $url["host"];
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
33 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
[all …]
H A Dbug38450_2.phpt17 $this->varname = $url["host"];
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
33 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
[all …]
H A Dinclude_userstream_001.phpt15 $this->pos = strlen($this->data);
17 $this->po = 0;
24 $ret = substr($this->data, $this->pos, $count);
25 $this->pos += strlen($ret);
31 return $this->pos;
36 return $this->pos >= strlen($this->data);
43 if ($offset < $this->data && $offset >= 0) {
44 $this->pos = $offset;
52 $this->pos += $offset;
59 if (strlen($this->data) + $offset >= 0) {
[all …]
H A Dbug38450_3.phpt17 $this->varname = $url["host"];
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
33 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
[all …]
/PHP-8.1/ext/spl/tests/
H A Ddualiterator.inc43 $this->lhs = $lhs;
52 return $this->lhs;
59 return $this->rhs;
88 return $this->lhs->valid() && $this->rhs->valid();
99 return array($this->lhs->current(), $this->rhs->current());
139 ? $this->lhs->current() === $this->rhs->current()
140 && $this->lhs->key() === $this->rhs->key()
141 : $this->lhs->valid() == $this->rhs->valid();
150 ? $this->lhs->current() == $this->rhs->current()
151 && $this->lhs->key() == $this->rhs->key()
[all …]
H A Darray_005.phpt13 $this->id = $id;
14 $this->name = $name;
19 return $this->id . ', ' . $this->name;
24 return $this->id;
35 $this->id = $other->getId();
40 echo "ACCEPT ".$this->current()->getId()." == ".$this->id."\n";
41 return $this->current()->getId() == $this->id;
56 if (!$this->contains($student)) {
57 $this->students[] = $student;
63 foreach ($this->students as $s)
[all …]
H A Diterator_003.phpt13 $this->id = $id;
14 $this->name = $name;
19 return $this->id . ', ' . $this->name;
24 return $this->id;
35 $this->id = $other->getId();
40 echo "ACCEPT ".$this->current()->getId()." == ".$this->id."\n";
41 return $this->current()->getId() == $this->id;
51 $this->students = new ArrayObject(array());
56 if (!$this->contains($student)) {
57 $this->students[] = $student;
[all …]
H A Dbug65328.phpt26 return $this->head;
121 $this->data = $data;
131 $this->uid = $uid;
139 return $this->uid;
172 $this->data = $data;
180 return $this->data;
189 if(true === $this->assureUnique && !self::checkUnique($parent, $this->uid)) {
223 return $this->children[$this->index];
236 ++$this->index;
241 $this->index = 0;
[all …]
/PHP-8.1/ext/curl/tests/
H A Dbug77535.phpt23 if (false === $this->mh = curl_multi_init()) {
27 $this->addServerPushCallback();
29 $this->curl = curl_init();
32 curl_setopt($this->curl, CURLOPT_HEADER, false);
33 curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, false);
34 curl_setopt($this->curl, CURLOPT_FAILONERROR, false);
35 curl_setopt($this->curl, CURLOPT_URL, 'https://localhost/serverpush');
43 curl_multi_add_handle($this->mh, $this->curl);
48 $mrc = curl_multi_exec($this->mh, $stillRunning);
51 $info = curl_multi_info_read($this->mh);
[all …]
/PHP-8.1/ext/phar/tests/files/
H A Dpear2coverage.phar37 return $this->view->TOC($this->sqlite);
45 return $this->view->testTOC($this->sqlite);
58 return $this->view->TOC($this->sqlite);
88 $this->sqlite = $this->view->getDatabase();
626 … $decorator->renderSummary($this, $this->retrievePaths(), $this->codepath, false, $coverage[1],
669 $this->coverage = $this->aggregator->retrieveCoverage($this->path);
727 $this->linelinks = $this->aggregator->retrieveLineLinks($this->path);
908 … $decorator->renderSummary($this, $this->retrievePaths(), $this->codepath, false, $coverage[1],
1580 $this->coverage = $this->aggregator->retrieveCoverageByTest($this->path, $this->testname);
1585 $info = $this->aggregator->coverageInfoByTest($this->path, $this->testname);
[all …]
/PHP-8.1/ext/exif/tests/
H A Dgh10834.phpt17 return $this->position >= strlen($this->data);
21 $this->position = 0;
22 $this->data = file_get_contents(__DIR__.'/bug50845.jpg');
29 if ($offset < strlen($this->data) && $offset >= 0) {
30 $this->position = $offset;
38 $this->position += $offset;
45 if (strlen($this->data) + $offset >= 0) {
46 $this->position = strlen($this->data) + $offset;
58 $ret = substr($this->data, $this->position, $count);
59 $this->position += strlen($ret);
[all …]
/PHP-8.1/tests/classes/
H A Darray_access_011.phpt17 $this->object = $object;
18 $this->oarray = &$array;
19 $this->element = $element;
24 return array_key_exists($index, $this->oarray[$this->element]);
29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL;
34 $this->oarray[$this->element][$index] = $value;
39 unset($this->oarray[$this->element][$index]);
61 return new ArrayAccessReferenceProxy($this, $this->person, $index);
65 return $this->person[$index];
71 $this->person[$index] = $value;
[all …]

Completed in 58 milliseconds

12345678910>>...74