/PHP-8.3/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.3/ext/bcmath/libbcmath/src/ |
H A D | num2str.c | 41 size_t index; in bc_num2str_ex() local 59 for (index = num->n_len; index > 0; index--) { in bc_num2str_ex() 66 for (index = 0; index < scale && index < num->n_scale; index++) { in bc_num2str_ex() 69 for (index = num->n_scale; index < scale; index++) { in bc_num2str_ex()
|
/PHP-8.3/ext/spl/ |
H A D | spl_fixedarray.stub.php | 32 * @param int $index 35 public function offsetExists($index): bool {} argument 38 * @param int $index 41 public function offsetGet($index): mixed {} argument 44 * @param int $index 47 public function offsetSet($index, mixed $value): void {} argument 50 * @param int $index 53 public function offsetUnset($index): void {} argument
|
H A D | spl_dllist.stub.php | 29 public function add(int $index, mixed $value): void {} argument 65 * @param int $index 68 public function offsetExists($index): bool {} argument 71 * @param int $index 74 public function offsetGet($index): mixed {} argument 77 * @param int|null $index 80 public function offsetSet($index, mixed $value): void {} argument 83 * @param int $index 86 public function offsetUnset($index): void {} argument
|
/PHP-8.3/ext/mysqli/tests/ |
H A D | mysqli_ps_select_union.phpt | 34 $index = 0; 38 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 59 $index = 0; 63 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 88 $index = 0; 92 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 111 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 139 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 158 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); 196 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1); [all …]
|
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 …]
|
/PHP-8.3/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.3/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.3/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.3/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.3/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.3/ext/phar/tests/cache_list/ |
H A D | frontcontroller21.phpt | 15 REQUEST_URI=/frontcontroller21.php/index.php?test=hi 16 PATH_INFO=/index.php 23 string(10) "/index.php" 24 string(10) "/index.php" 25 string(%d) "phar://%sfrontcontroller21.php/index.php" 26 string(18) "/index.php?test=hi" 27 string(32) "/frontcontroller21.php/index.php" 30 string(40) "/frontcontroller21.php/index.php?test=hi"
|
/PHP-8.3/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() 156 size_t dirw_len, filespecw_len, index; in rewinddir() local 182 index = dirw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in rewinddir() 185 index = dirw_len - 1; in rewinddir() 188 if (index >= 0 && (filespecw[index] == L'/' || in rewinddir() 189 (filespecw[index] == L'\\' && index == 0))) in rewinddir() [all …]
|
/PHP-8.3/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.3/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.3/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);
|