/PHP-7.4/sapi/fpm/tests/ |
H A D | response.inc | 58 $this->data = $data; 79 $this->error( 90 return $this; 110 return $this; 121 $this->error( 126 return $this; 135 if ($this->checkIfValid() && $this->checkDefaultHeaders($contentType)) { 191 $this->error("The response is invalid: $this->rawData"); 284 $this->rawData = $this->data['out_response']; 285 $this->valid = ( [all …]
|
H A D | logtool.inc | 66 $this->limit = $limit; 67 $this->position = 0; 204 $rem = strlen($this->message) - $this->position; 209 if (!$this->checkMessage($out, $this->position)) { 252 return $this->error( 273 return $this->error( 315 if ($this->getError()) { 336 if ($this->getError()) { 359 if ($this->getError()) { 443 $this->error = $msg; [all …]
|
/PHP-7.4/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-7.4/tests/lang/ |
H A D | 019.phpt | 17 hey, this is a regular echo'd eval() 18 hey, this is a function inside an eval()! 19 hey, this is a regular echo'd eval() 21 hey, this is a regular echo'd eval() 23 hey, this is a regular echo'd eval() 25 hey, this is a regular echo'd eval() 27 hey, this is a regular echo'd eval() 29 hey, this is a regular echo'd eval() 31 hey, this is a regular echo'd eval() 33 hey, this is a regular echo'd eval() [all …]
|
/PHP-7.4/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 52 instance scoped, static, $this used 53 instance scoped, non-static, $this not 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 | bug78340.phpt | 12 $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 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]));
|
H A D | foreach_003.phpt | 11 $this->count = $count; 12 $this->trap = $trap; 16 if ($trap === $this->trap) { 21 function rewind() {$this->trap(__FUNCTION__); $this->n = 0;} 22 function valid() {$this->trap(__FUNCTION__); return $this->n < $this->count;} 23 function key() {$this->trap(__FUNCTION__); return $this->n;} 24 function current() {$this->trap(__FUNCTION__); return $this->n;} 25 function next() {$this->trap(__FUNCTION__); $this->n++;}
|
H A D | list_keyed_evaluation_order.inc | 9 $this->name = $name; 13 echo "$this->name evaluated.", PHP_EOL; 14 return $this->name; 22 $this->array = $array; 27 return isset($this->array[$offset]); 31 unset($this->array[$offset]); 37 return $this->array[$offset]; 41 $this->array[$offset] = $value; 52 $this->label = $label; 53 $this->indexable = $indexable; [all …]
|
H A D | bug36006.phpt | 2 Bug #36006 (Problem with $this in __destruct()) 9 $this->dad = null; /* no segfault if this is commented out */ 16 $this->son = new Person; 17 $this->son->dad = $this; /* no segfault if this is commented out */ 20 $this->son = null;
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | include_userstream_002.phpt | 20 $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; 50 return $this->pos >= strlen($this->data); 61 $this->pos = $offset; 69 $this->pos += $offset; [all …]
|
H A D | bug38450.phpt | 17 $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)); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | bug38450_1.phpt | 17 $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)); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $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_2.phpt | 17 $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)); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
H A D | bug38450_3.phpt | 17 $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)); 41 return $this->position; 46 return $this->position >= strlen($GLOBALS[$this->varname]); 53 $this->position = $offset; 62 $this->position += $offset; [all …]
|
/PHP-7.4/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); 36 curl_setopt($this->curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); 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-7.4/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 | 29 return $this->head; 124 $this->data = $data; 134 $this->uid = $uid; 142 return $this->uid; 175 $this->data = $data; 183 return $this->data; 192 if(true === $this->assureUnique && !self::checkUnique($parent, $this->uid)) { 229 return $this->children[$this->index]; 245 ++$this->index; 253 $this->index = 0; [all …]
|
/PHP-7.4/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-7.4/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 …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug70720.phpt | 5 var_dump(strip_tags('<?php $dom->test(); ?> this is a test')); 6 var_dump(strip_tags('<?php $xml->test(); ?> this is a test')); 7 var_dump(strip_tags('<?xml $xml->test(); ?> this is a test')); 10 var_dump(strip_tags("<span class=sf-dump-> this is a test</span>")); 13 string(15) " this is a test" 14 string(15) " this is a test" 15 string(15) " this is a test" 16 string(15) " this is a test"
|