Home
last modified time | relevance | path

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

12345678910>>...92

/php-src/ext/random/tests/
H A Dengines.inc22 $this->state = sha1($this->state, true);
38 $this->count++;
45 return $this->count;
66 $result = (self::rotl(($this->s0 + $this->s3) & 0xFFFFFFFF, 7) + $this->s0) & 0xFFFFFFFF;
70 $this->s2 ^= $this->s0;
71 $this->s3 ^= $this->s1;
72 $this->s1 ^= $this->s2;
73 $this->s0 ^= $this->s3;
75 $this->s2 ^= $t;
77 $this->s3 = self::rotl($this->s3, 11);
[all …]
/php-src/build/
H A Dgen_stub.php382 return $this->isBuiltin && $this->name === 'int';
1136 return "$this->className::$this->methodName";
1182 return $this->type ?? $this->phpDocType;
1194 $type = $this->phpDocType ?? $this->type;
1361 $name = $this->alias ?? $this->name;
1372 $name = $this->alias ?? $this->name;
2135 $this->return = clone $this->return;
2377 $type = $this->phpDocType ?? $this->type;
2660 $type = $this->phpDocType ?? $this->type;
3039 $this->type = clone $this->type;
[all …]
/php-src/sapi/fpm/tests/
H A Dresponse.inc148 return $this;
175 $this->error(
179 return $this;
202 return $this;
213 return $this;
233 return $this;
253 return $this;
275 return $this;
368 $this->error("The response is invalid: $this->rawData");
485 $this->rawData = $this->data['out_response'];
[all …]
/php-src/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 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 Dbug78340.phpt13 $this->bytes= self::$files[$path];
14 $this->pos= 0;
15 $this->ino= crc32($path);
20 $chunk= substr($this->bytes, $this->pos, $count);
21 $this->pos+= strlen($chunk);
26 return $this->pos >= strlen($this->bytes);
30 $this->bytes= null;
36 'size' => strlen($this->bytes),
37 'ino' => $this->ino
/php-src/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-src/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-src/ext/standard/tests/file/
H A Dinclude_userstream_002.phpt21 $this->pos = strlen($this->data);
23 $this->pos = 0;
30 if (!empty($this->stream)) {
33 $ret = substr($this->data, $this->pos, $count);
34 $this->pos += strlen($ret);
40 if (!empty($this->stream)) {
43 return $this->pos;
48 if (!empty($this->stream)) {
51 return $this->pos >= strlen($this->data);
56 if (!empty($this->stream)) {
[all …]
H A Dbug38450.phpt18 $this->varname = $url["host"];
19 $this->position = 0;
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
27 $this->position += strlen($ret);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
36 $this->position += strlen($data);
42 return $this->position;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
54 $this->position = $offset;
[all …]
H A Dbug38450_1.phpt18 $this->varname = $url["host"];
19 $this->position = 0;
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
27 $this->position += strlen($ret);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
36 $this->position += strlen($data);
42 return $this->position;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
54 $this->position = $offset;
[all …]
H A Dbug38450_2.phpt18 $this->varname = $url["host"];
19 $this->position = 0;
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
27 $this->position += strlen($ret);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
36 $this->position += strlen($data);
42 return $this->position;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
54 $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.phpt18 $this->varname = $url["host"];
19 $this->position = 0;
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
27 $this->position += strlen($ret);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
36 $this->position += strlen($data);
42 return $this->position;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
54 $this->position = $offset;
[all …]
/php-src/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-src/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-src/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-src/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-src/ext/standard/tests/mail/
H A Dmail_util.inc31 fclose($this->fp);
36 $this->disconnect();
48 while (!feof($this->fp)) {
49 $line = fgets($this->fp);
70 while (!feof($this->fp)) {
71 $line = fgets($this->fp);
90 $this->fail("{$tag} failed");
153 fn($uid) => $this->getHeaders($uid) + ['Body' => $this->getBody($uid)],
212 if (!$this->mailData) {
216 if (!$this->count() > 1) {
[all …]
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_023.phpt12 if (isset($this->a[$key])) {
13 foreach ($this->a[$key] as $i => $data) {
16 unset($this->a[$key][$i]);
21 if (isset($this->type_map[$key])) {
22 foreach ($this->b[$key] as $map_start => $_) {
24 unset($this->b[$key][$map_start]);
28 if (isset($this->c[$key])) {
29 foreach ($this->c[$key] as $map_start => $_) {
31 unset($this->c[$key][$map_start]);
35 if (isset($this->d[$key])) {
[all …]
/php-src/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 197 milliseconds

12345678910>>...92