Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/PHP-8.2/tests/classes/
H A Darray_access_003.phpt11 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 Darray_access_004.phpt9 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 Darray_access_009.phpt11 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 Darray_access_007.phpt13 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 Darray_access_006.phpt13 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 Darray_access_011.phpt22 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 Darray_access_010.phpt20 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 Darray_access_012.phpt9 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.2/ext/bcmath/libbcmath/src/
H A Dnum2str.c50 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.2/ext/spl/
H A Dspl_fixedarray.stub.php32 * @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 Dspl_dllist.stub.php29 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.2/ext/mysqli/tests/
H A Dmysqli_ps_select_union.phpt34 $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 Dmysqli_pconnect.phpt29 $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.2/ext/phar/tests/
H A Dfrontcontroller21.phpt10 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.2/ext/spl/tests/
H A Dbug31185.phpt9 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 Dbug32134.phpt14 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.2/ext/phar/tests/cache_list/
H A Dfrontcontroller21.phpt11 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.2/ext/phar/tests/tar/
H A Dfrontcontroller21.phar.phpt10 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.2/ext/phar/tests/zip/
H A Dfrontcontroller21.phar.phpt11 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.2/sapi/fpm/fpm/events/
H A Dpoll.c154 …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.2/win32/
H A Dreaddir.c30 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.2/sapi/cli/
H A Dphp_http_parser.c268 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.2/ext/standard/tests/url/
H A Dparse_url_basic_007.phpt34 --> 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.2/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt41 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 Ddom_comment_variation.phpt18 for ($index = 0; $index < $children->length; $index++) {
19 echo "--- child $index ---\n";
20 $current = $children->item($index);

Completed in 53 milliseconds

12345678910>>...20