/PHP-8.3/ext/random/tests/ |
H A D | engines.inc | 22 $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-8.3/sapi/fpm/tests/ |
H A D | response.inc | 148 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-8.3/Zend/tests/ |
H A D | closure_062.phpt | 2 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 D | bug40833.phpt | 12 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 D | foreach_003.phpt | 11 $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 D | bug78340.phpt | 13 $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
|
H A D | this_in_isset.phpt | 2 $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]));
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | bug77135.phpt | 2 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.3/build/ |
H A D | gen_stub.php | 363 return $this->isBuiltin && $this->name === 'null'; 371 return $this->isBuiltin && $this->name === 'int'; 1117 return "$this->className::$this->methodName"; 1163 return $this->type ?? $this->phpDocType; 1175 $type = $this->phpDocType ?? $this->type; 1331 $name = $this->alias ?? $this->name; 1342 $name = $this->alias ?? $this->name; 1592 $this->return = clone $this->return; 1825 $type = $this->phpDocType ?? $this->type; 2426 $this->type = clone $this->type; [all …]
|
/PHP-8.3/tests/lang/ |
H A D | 019.phpt | 18 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.3/ext/standard/tests/file/ |
H A D | include_userstream_002.phpt | 21 $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 D | bug38450.phpt | 18 $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 D | bug38450_1.phpt | 18 $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 D | bug38450_2.phpt | 18 $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 D | include_userstream_001.phpt | 15 $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 D | bug38450_3.phpt | 18 $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-8.3/ext/spl/tests/ |
H A D | dualiterator.inc | 43 $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 D | array_005.phpt | 13 $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 D | iterator_003.phpt | 13 $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 D | bug65328.phpt | 26 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.3/ext/curl/tests/ |
H A D | bug77535.phpt | 23 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.3/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 37 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.3/ext/exif/tests/ |
H A D | gh10834.phpt | 17 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.3/ext/sqlite3/tests/ |
H A D | gh11878.phpt | 10 $this->sqlite = new SQLite3(":memory:"); 12 …$this->sqlite->createAggregate("indexes", array($this, "SQLiteIndex"), array($this, "SQLiteFinal")… 13 $this->sqlite->createAggregate("indexes_closure", fn () => 0, fn () => 0, 0); 16 $this->sqlite->createFunction("func", array($this, "SQLiteIndex"), 0); 17 $this->sqlite->createFunction("func_closure", fn () => 0, 0); 18 $this->sqlite->createCollation("collation", array($this, "SQLiteIndex")); 19 $this->sqlite->createCollation("collation_closure", fn () => 0);
|
/PHP-8.3/tests/classes/ |
H A D | array_access_011.phpt | 17 $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 …]
|