/PHP-8.1/tests/classes/ |
H A D | array_access_003.phpt | 11 function offsetExists($index): bool { 12 echo __METHOD__ . "($index)\n"; 15 function offsetGet($index): mixed { 16 echo __METHOD__ . "($index)\n"; 17 switch($index) { 25 return $this->a[$index]; 29 if ($index==3) { 32 $this->a[$index] = $newval; 34 function offsetUnset($index): void { 35 echo __METHOD__ . "($index)\n"; [all …]
|
H A D | array_access_004.phpt | 9 function offsetExists($index): bool { 10 echo __METHOD__ . "($index)\n"; 13 function offsetGet($index): mixed { 14 echo __METHOD__ . "($index)\n"; 15 switch($index) { 23 return $this->a[$index]; 27 if ($index==3) { 30 $this->a[$index] = $newval; 32 function offsetUnset($index): void { 33 echo __METHOD__ . "($index)\n"; [all …]
|
H A D | array_access_009.phpt | 11 function proxySet($element, $index, $value); 12 function proxyUnset($element, $index); 31 function offsetExists($index): bool { 36 function offsetGet($index): mixed { 39 return isset($tmp[$index]) ? $tmp[$index] : NULL; 47 function offsetUnset($index): void { 62 function offsetExists($index): bool 67 function offsetGet($index): mixed 74 $this->person[$index] = $value; 77 function offsetUnset($index): void [all …]
|
H A D | array_access_007.phpt | 13 function offsetExists($index): bool { 14 return array_key_exists($this->realArray, $index); 17 function offsetGet($index): mixed { 18 return $this->realArray[$index]; 21 function offsetSet($index, $value): void { 22 if (is_null($index)) { 25 $this->realArray[$index] = $value; 29 function offsetUnset($index): void { 30 unset($this->realArray[$index]);
|
H A D | array_access_006.phpt | 13 function offsetExists($index): bool { 14 return array_key_exists($this->realArray, $index); 17 function offsetGet($index): mixed { 18 return $this->realArray[$index]; 21 function offsetSet($index, $value): void { 22 $this->realArray[$index] = $value; 25 function offsetUnset($index): void { 26 unset($this->realArray[$index]);
|
H A D | array_access_011.phpt | 22 function offsetExists($index): bool { 27 function offsetGet($index): mixed { 29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL; 37 function offsetUnset($index): void { 52 function offsetExists($index): bool 57 function offsetGet($index): mixed 59 if (is_array($this->person[$index])) 65 return $this->person[$index]; 71 $this->person[$index] = $value; 74 function offsetUnset($index): void [all …]
|
H A D | array_access_010.phpt | 20 function offsetExists($index): bool { 25 function offsetGet($index): mixed { 27 return isset($this->element[$index]) ? $this->element[$index] : NULL; 32 $this->element[$index] = $value; 35 function offsetUnset($index): void { 37 unset($this->element[$index]); 50 function offsetExists($index): bool 55 function offsetGet($index): mixed 62 $this->person[$index] = $value; 65 function offsetUnset($index): void [all …]
|
H A D | array_access_012.phpt | 9 public function offsetUnset($index): void {} 11 public function offsetSet($index, $value): void { 12 $this->data[$index] = $value; 15 public function offsetGet($index): mixed { 16 return $this->data[$index]; 19 public function offsetExists($index): bool { 20 return isset($this->data[$index]);
|
/PHP-8.1/ext/bcmath/libbcmath/src/ |
H A D | num2str.c | 50 int index, signch; local 65 for (index=num->n_len; index>0; index--) 72 for (index=0; index<scale && index<num->n_scale; index++) 74 for (index = num->n_scale; index<scale; index++)
|
/PHP-8.1/ext/spl/ |
H A D | spl_fixedarray.stub.php | 28 * @param int $index 31 public function offsetExists($index): bool {} argument 34 * @param int $index 37 public function offsetGet($index): mixed {} argument 40 * @param int $index 43 public function offsetSet($index, mixed $value): void {} argument 46 * @param int $index 49 public function offsetUnset($index): void {} argument
|
H A D | spl_dllist.stub.php | 8 public function add(int $index, mixed $value): void {} argument 44 * @param int $index 47 public function offsetExists($index): bool {} argument 50 * @param int $index 53 public function offsetGet($index): mixed {} argument 56 * @param int|null $index 59 public function offsetSet($index, mixed $value): void {} argument 62 * @param int $index 65 public function offsetUnset($index): void {} argument
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_pconnect.phpt | 29 $index = mt_rand(0, $num); 30 } while (!isset($connections[$index])); 31 mysqli_close($connections[$index]); 32 unset($connections[$index]); 47 $index = mt_rand(0, $num); 51 mysqli_close($connections[$index]); 52 unset($connections[$index]); 63 $index = mt_rand(0, $num); 64 } while (!isset($connections[$index])); 65 mysqli_close($connections[$index]); [all …]
|
H A D | mysqli_ps_select_union.phpt | 34 $index = 0; 38 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 40 $index++; 64 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 90 $index = 0; 94 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 114 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 143 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 163 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 203 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); [all …]
|
/PHP-8.1/ext/phar/tests/ |
H A D | frontcontroller21.phpt | 10 REQUEST_URI=/frontcontroller21.php/index.php?test=hi 11 PATH_INFO=/index.php 18 string(10) "/index.php" 19 string(10) "/index.php" 20 string(%d) "phar://%sfrontcontroller21.php/index.php" 21 string(18) "/index.php?test=hi" 22 string(32) "/frontcontroller21.php/index.php" 25 string(40) "/frontcontroller21.php/index.php?test=hi"
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug31185.phpt | 9 public function offsetExists($index): bool { 10 return isset($this->array[$index]); 13 public function offsetGet($index): mixed { 14 return $this->array[$index]; 17 public function offsetSet($index, $value): void { 18 echo __METHOD__ . "($index, $value)\n"; 19 $this->array[$index] = $value; 22 public function offsetUnset($index): void { 24 unset($this->array[$index]);
|
H A D | bug32134.phpt | 14 public function offsetGet($index): mixed 17 echo __METHOD__ . "($index)\n"; 19 return parent::offsetGet($index); 22 public function offsetSet($index, $newval): void 24 echo __METHOD__ . "($index,$newval)\n"; 25 parent::offsetSet($index, $newval);
|
/PHP-8.1/ext/phar/tests/cache_list/ |
H A D | frontcontroller21.phpt | 11 REQUEST_URI=/frontcontroller21.php/index.php?test=hi 12 PATH_INFO=/index.php 19 string(10) "/index.php" 20 string(10) "/index.php" 21 string(%d) "phar://%sfrontcontroller21.php/index.php" 22 string(18) "/index.php?test=hi" 23 string(32) "/frontcontroller21.php/index.php" 26 string(40) "/frontcontroller21.php/index.php?test=hi"
|
/PHP-8.1/sapi/fpm/fpm/events/ |
H A D | poll.c | 154 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait() 157 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait() 190 ev->index = next_free_slot++; in fpm_event_poll_add() 209 ev->index = next_free_slot++; in fpm_event_poll_add() 229 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove() 231 next_free_slot = ev->index; in fpm_event_poll_remove() 234 pollfds[ev->index].fd = -1; in fpm_event_poll_remove() 235 pollfds[ev->index].events = 0; in fpm_event_poll_remove() 238 ev->index = -1; in fpm_event_poll_remove() 259 ev->index = -1; in fpm_event_poll_remove() [all …]
|
/PHP-8.1/ext/phar/tests/tar/ |
H A D | frontcontroller21.phar.phpt | 10 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi 11 PATH_INFO=/index.php 18 string(10) "/index.php" 19 string(10) "/index.php" 20 string(%d) "phar://%sfrontcontroller21.phar.php/index.php" 21 string(18) "/index.php?test=hi" 22 string(37) "/frontcontroller21.phar.php/index.php" 25 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
|
/PHP-8.1/ext/phar/tests/zip/ |
H A D | frontcontroller21.phar.phpt | 11 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi 12 PATH_INFO=/index.php 19 string(10) "/index.php" 20 string(10) "/index.php" 21 string(%d) "phar://%sfrontcontroller21.phar.php/index.php" 22 string(18) "/index.php?test=hi" 23 string(37) "/frontcontroller21.phar.php/index.php" 26 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
|
/PHP-8.1/win32/ |
H A D | readdir.c | 30 size_t resolvedw_len, filespecw_len, index; in opendir() local 57 index = resolvedw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in opendir() 60 index = resolvedw_len - 1; in opendir() 62 if (index >= 0 && filespecw[index] == L'/' || index == 0 && filespecw[index] == L'\\') in opendir() 63 filespecw[index] = L'\0'; in opendir() 149 size_t dirw_len, filespecw_len, index; in rewinddir() local 175 index = dirw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in rewinddir() 178 index = dirw_len - 1; in rewinddir() 181 if (index >= 0 && (filespecw[index] == L'/' || in rewinddir() 182 (filespecw[index] == L'\\' && index == 0))) in rewinddir() [all …]
|
/PHP-8.1/sapi/cli/ |
H A D | php_http_parser.c | 268 uint32_t index = parser->index; in php_http_parser_execute() local 348 index = 2; in php_http_parser_execute() 513 index = 1; in php_http_parser_execute() 585 ++index; in php_http_parser_execute() 985 index = 0; in php_http_parser_execute() 1148 index = 0; in php_http_parser_execute() 1237 index++; in php_http_parser_execute() 1248 index++; in php_http_parser_execute() 1259 index++; in php_http_parser_execute() 1260 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute() [all …]
|
/PHP-8.1/ext/standard/tests/url/ |
H A D | parse_url_basic_007.phpt | 34 --> http://www.php.net/index.php : string(10) "/index.php" 39 --> http://www.php.net:80/index.php : string(10) "/index.php" 40 --> http://www.php.net:80/foo/bar/index.php : string(18) "/foo/bar/index.php" 48 --> http://www.php.net:80/index.php : string(10) "/index.php" 49 --> http://www.php.net:80/index.php? : string(10) "/index.php" 55 --> http://www.php.net:80/index.php?test=1& : string(10) "/index.php" 56 --> http://www.php.net/index.php?& : string(10) "/index.php" 57 --> http://www.php.net:80/index.php?foo& : string(10) "/index.php" 58 --> http://www.php.net/index.php?&foo : string(10) "/index.php" 59 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(10) "/index.php" [all …]
|
/PHP-8.1/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 41 for ($index = $children->length - 1; $index >=0; $index--) { 42 echo "node $index\n"; 43 $current = $children->item($index); 52 for ($index = 0; $index < $children->length; $index++) { 53 echo "node $index\n"; 54 $current = $children->item($index);
|
H A D | dom_comment_variation.phpt | 18 for ($index = 0; $index < $children->length; $index++) { 19 echo "--- child $index ---\n"; 20 $current = $children->item($index);
|