/PHP-8.1/ext/zip/ |
H A D | php_zip.stub.php | 116 public function renameIndex(int $index, string $new_name): bool {} argument 128 public function setCommentIndex(int $index, string $comment): bool {} argument 135 public function setMtimeIndex(int $index, int $timestamp, int $flags = 0): bool {} argument 142 public function getCommentIndex(int $index, int $flags = 0): string|false {} argument 148 public function deleteIndex(int $index): bool {} argument 157 public function statIndex(int $index, int $flags = 0): array|false {} argument 163 public function getNameIndex(int $index, int $flags = 0): string|false {} argument 172 public function unchangeIndex(int $index): bool {} argument 184 public function getFromIndex(int $index, int $len = 0, int $flags = 0): string|false {} argument 215 public function setCompressionIndex(int $index, int $method, int $compflags = 0): bool {} argument [all …]
|
/PHP-8.1/ext/hash/ |
H A D | hash_sha.c | 236 partLen = 64 - index; in PHP_SHA224Update() 248 index = 0; in PHP_SHA224Update() 280 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA224Final() 313 partLen = 64 - index; in PHP_SHA256Update() 325 index = 0; in PHP_SHA256Update() 357 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA256Final() 527 partLen = 128 - index; in PHP_SHA384Update() 539 index = 0; in PHP_SHA384Update() 577 padLen = (index < 112) ? (112 - index) : (240 - index); in PHP_SHA384Final() 692 index = 0; in PHP_SHA512Update() [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | strrpos_variation12.phpt | 20 for($index = 0; $index < count($haystacks); $index++ ) { 21 var_dump( strrpos($haystacks[$index], "\0") ); 22 var_dump( strrpos($haystacks[$index], "\0", $index) );
|
H A D | strrpos_variation13.phpt | 22 for($index = 0; $index < count($needles); $index++ ) { 23 var_dump( strrpos($haystack, $needles[$index]) ); 24 var_dump( strrpos($haystack, $needles[$index], $index) );
|
H A D | stripos_variation12.phpt | 20 for($index = 0; $index < count($haystacks); $index++ ) { 21 var_dump( stripos($haystacks[$index], "\0") ); 22 var_dump( stripos($haystacks[$index], "\0", $index) );
|
H A D | stripos_variation13.phpt | 22 for($index = 0; $index < count($needles); $index++ ) { 23 var_dump( stripos($haystack, $needles[$index]) ); 24 var_dump( stripos($haystack, $needles[$index], $index) );
|
H A D | url_t.phpt | 23 'http://www.php.net/index.php', 213 string(10) "/index.php" 266 string(10) "/index.php" 367 string(10) "/index.php" 378 string(10) "/index.php" 456 string(10) "/index.php" 467 string(10) "/index.php" 480 string(10) "/index.php" 491 string(10) "/index.php" 504 string(10) "/index.php" [all …]
|
H A D | strrchr_variation12.phpt | 18 for($index = 0; $index < count($haystacks); $index++ ) { 20 var_dump( strrchr($haystacks[$index], "\0") ); 22 var_dump( strrchr($haystacks[$index], "") );
|
/PHP-8.1/ext/gd/tests/ |
H A D | github_bug_215.phpt | 2 Github #215 (imagefilltoborder stack overflow when invalid pallete index used) 18 /* Use unallocated color index */ 22 /* Use negative color index */ 27 /* Use unallocated color index */ 31 /* Use negative color index */ 36 /* Use negative color index */
|
/PHP-8.1/ext/bcmath/libbcmath/src/ |
H A D | num2long.c | 51 int index; local 56 for (index = num->n_len; index > 0; index--) {
|
/PHP-8.1/ext/dom/tests/ |
H A D | dom_comment_basic.phpt | 21 for ($index = 0; $index < $children->length; $index++) { 22 echo "--- child $index ---\n"; 23 $current = $children->item($index);
|
H A D | DOMNode_cloneNode_basic.phpt | 41 for ($index = $children->length - 1; $index >=0; $index--) { 42 $current = $children->item($index); 68 for ($index = 0; $index < $children->length; $index++) { 69 echo "node $index\n"; 70 dumpcourse($children->item($index));
|
/PHP-8.1/ext/dom/ |
H A D | nodelist.c | 106 void php_dom_nodelist_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *return… in php_dom_nodelist_get_item_into_zval() argument 110 if (index >= 0) { in php_dom_nodelist_get_item_into_zval() 114 itemnode = php_dom_libxml_hash_iter(objmap->ht, index); in php_dom_nodelist_get_item_into_zval() 116 itemnode = php_dom_libxml_notation_iter(objmap->ht, index); in php_dom_nodelist_get_item_into_zval() 121 zval *entry = zend_hash_index_find(nodeht, index); in php_dom_nodelist_get_item_into_zval() 132 while (count < index && curnode != NULL) { in php_dom_nodelist_get_item_into_zval() 143 …get_elements_by_tag_name_ns_raw(nodep, (char *) objmap->ns, (char *) objmap->local, &count, index); in php_dom_nodelist_get_item_into_zval() 164 zend_long index; in PHP_METHOD() local 165 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &index) == FAILURE) { in PHP_METHOD() 172 php_dom_nodelist_get_item_into_zval(objmap, index, return_value); in PHP_METHOD()
|
/PHP-8.1/tests/classes/ |
H A D | array_access_008.phpt | 13 function offsetExists($index): bool { 14 return array_key_exists($this->person, $index); 17 function offsetGet($index): mixed { 18 return $this->person[$index]; 21 function offsetSet($index, $value): void { 22 $this->person[$index] = $value; 25 function offsetUnset($index): void { 26 unset($this->person[$index]);
|
H A D | array_access_005.phpt | 13 function offsetExists($index): bool { 14 return array_key_exists($this->person, $index); 17 function offsetGet($index): mixed { 18 return $this->person[$index]; 21 function offsetSet($index, $value): void { 22 $this->person[$index] = $value; 25 function offsetUnset($index): void { 26 unset($this->person[$index]);
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug33136.phpt | 16 function offsetGet($index): mixed 18 echo __METHOD__ . "($index)\n"; 19 return parent::offsetGet($index); 22 function offsetSet($index, $value): void 24 echo __METHOD__ . "(" . (is_null($index) ? "NULL" : $index) . ",$value)\n"; 25 parent::offsetSet($index, $value);
|
/PHP-8.1/ext/standard/tests/url/ |
H A D | urls.inc | 20 'http://www.php.net/index.php', 25 'http://www.php.net:80/index.php', 26 'http://www.php.net:80/foo/bar/index.php', 34 'http://www.php.net:80/index.php', 35 'http://www.php.net:80/index.php?', 41 'http://www.php.net:80/index.php?test=1&', 42 'http://www.php.net/index.php?&', 43 'http://www.php.net:80/index.php?foo&', 44 'http://www.php.net/index.php?&foo', 45 'http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI', [all …]
|
H A D | parse_url_basic_006.phpt | 34 --> http://www.php.net/index.php : NULL 39 --> http://www.php.net:80/index.php : NULL 40 --> http://www.php.net:80/foo/bar/index.php : NULL 48 --> http://www.php.net:80/index.php : NULL 49 --> http://www.php.net:80/index.php? : NULL 55 --> http://www.php.net:80/index.php?test=1& : NULL 56 --> http://www.php.net/index.php?& : NULL 57 --> http://www.php.net:80/index.php?foo& : NULL 58 --> http://www.php.net/index.php?&foo : NULL 59 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : NULL [all …]
|
H A D | parse_url_basic_004.phpt | 34 --> http://www.php.net/index.php : NULL 39 --> http://www.php.net:80/index.php : int(80) 40 --> http://www.php.net:80/foo/bar/index.php : int(80) 48 --> http://www.php.net:80/index.php : int(80) 49 --> http://www.php.net:80/index.php? : int(80) 55 --> http://www.php.net:80/index.php?test=1& : int(80) 56 --> http://www.php.net/index.php?& : NULL 57 --> http://www.php.net:80/index.php?foo& : int(80) 58 --> http://www.php.net/index.php?&foo : NULL 59 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : int(80) [all …]
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_report.c | 53 char index[15]; in php_mysqli_report_index() local 56 strcpy(index, "Bad index"); in php_mysqli_report_index() 58 strcpy(index, "No index"); in php_mysqli_report_index() 62 php_mysqli_throw_sql_exception("00000", 0, "%s used in query/prepared statement %s", index, query); in php_mysqli_report_index()
|
/PHP-8.1/ext/opcache/ |
H A D | zend_accelerator_hash.c | 77 zend_ulong index; in zend_accel_hash_update() local 92 index = hash_value % accel_hash->max_num_entries; in zend_accel_hash_update() 95 entry = accel_hash->hash_table[index]; in zend_accel_hash_update() 136 entry->next = accel_hash->hash_table[index]; in zend_accel_hash_update() 137 accel_hash->hash_table[index] = entry; in zend_accel_hash_update() 143 zend_ulong index; in zend_accel_hash_find_ex() local 151 index = hash_value % accel_hash->max_num_entries; in zend_accel_hash_find_ex() 153 entry = accel_hash->hash_table[index]; in zend_accel_hash_find_ex() 195 zend_ulong index; in zend_accel_hash_unlink() local 204 entry = accel_hash->hash_table[index]; in zend_accel_hash_unlink() [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 43 $index = 0; 45 if ($row['id'] != $data[$index]['id']) { 47 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 50 if ($row['label'] != $data[$index]['label']) { 52 var_export($data[$index]['label'], true), gettype($data[$index]['label']), 55 $index++; 83 $index = 0; 85 if ($row['id'] != $data[$index]['id']) { 87 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 92 var_export($data[$index]['label'], true), gettype($data[$index]['label']), [all …]
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | key_exists_variation2.phpt | 10 // there is not a index = 0 element 15 // 1 has index = 0 19 // 42 has index = 0, netherless its position is the latest 24 // 'bar' has index = 0, netherless it is a string 28 // 'baz' has index = 0, netherless its position is the latest 40 // object has index = 0, netherless its position is the latest 44 // object has index = 0, netherless its position is the first 49 // stream resource has index = 0, netherless its position is the first 54 // stream resource has index = 0, netherless its position is the latest
|
/PHP-8.1/ext/pcre/tests/ |
H A D | preg_grep_basic.phpt | 8 $array = array('HTTP://WWW.EXAMPLE.COM', '/index.html', '/info/stat/', 'http://test.uk.com/index/ht… 22 string(11) "/index.html" 26 string(29) "http://test.uk.com/index/html" 34 string(29) "http://test.uk.com/index/html" 40 string(11) "/index.html" 44 string(29) "http://test.uk.com/index/html" 50 string(29) "http://test.uk.com/index/html" 56 string(11) "/index.html"
|
/PHP-8.1/Zend/tests/ |
H A D | constant_expressions_coalesce.phpt | 8 const T_1 = null ?? A[1]['undefined']['index'] ?? 1; 9 const T_2 = null ?? A['undefined']['index'] ?? 2; 22 var_dump((function(){ static $var = null ?? A[1]['undefined']['index'] ?? 1; return $var; })()); 23 var_dump((function(){ static $var = null ?? A['undefined']['index'] ?? 2; return $var; })()); 27 var_dump((new class { public $var = null ?? A[1]['undefined']['index'] ?? 1; })->var); 28 var_dump((new class { public $var = null ?? A['undefined']['index'] ?? 2; })->var);
|