/PHP-7.4/ext/dom/tests/ |
H A D | dom_comment_basic.phpt | 23 for ($index = 0; $index < $children->length; $index++) { 24 echo "--- child $index ---\n"; 25 $current = $children->item($index);
|
H A D | DOMNode_cloneNode_basic.phpt | 43 for ($index = $children->length - 1; $index >=0; $index--) { 44 $current = $children->item($index); 70 for ($index = 0; $index < $children->length; $index++) { 71 echo "node $index\n"; 72 dumpcourse($children->item($index));
|
/PHP-7.4/ext/gd/tests/ |
H A D | github_bug_215.phpt | 2 Github #215 (imagefilltoborder stack overflow when invalid pallete index used) 17 /* Use unallocated color index */ 21 /* Use negative color index */ 26 /* Use unallocated color index */ 30 /* Use negative color index */ 35 /* Use negative color index */
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug33136.phpt | 16 function offsetGet($index) 18 echo __METHOD__ . "($index)\n"; 19 return parent::offsetGet($index); 22 function offsetSet($index, $value) 24 echo __METHOD__ . "(" . (is_null($index) ? "NULL" : $index) . ",$value)\n"; 25 parent::offsetSet($index, $value);
|
/PHP-7.4/tests/classes/ |
H A D | array_access_008.phpt | 13 function offsetExists($index) { 14 return array_key_exists($this->person, $index); 17 function offsetGet($index) { 18 return $this->person[$index]; 21 function offsetSet($index, $value) { 22 $this->person[$index] = $value; 25 function offsetUnset($index) { 26 unset($this->person[$index]);
|
H A D | array_access_005.phpt | 13 function offsetExists($index) { 14 return array_key_exists($this->person, $index); 17 function offsetGet($index) { 18 return $this->person[$index]; 21 function offsetSet($index, $value) { 22 $this->person[$index] = $value; 25 function offsetUnset($index) { 26 unset($this->person[$index]);
|
H A D | array_access_001.phpt | 9 function offsetExists($index) { 10 echo __METHOD__ . "($index)\n"; 13 function offsetGet($index) { 14 echo __METHOD__ . "($index)\n"; 15 return $this->a[$index]; 17 function offsetSet($index, $newval) { 18 echo __METHOD__ . "($index,$newval)\n"; 19 return $this->a[$index] = $newval; 21 function offsetUnset($index) { 22 echo __METHOD__ . "($index)\n"; [all …]
|
H A D | array_access_002.phpt | 9 function offsetExists($index) { 10 echo __METHOD__ . "($index)\n"; 13 function offsetGet($index) { 14 echo __METHOD__ . "($index)\n"; 15 return $this->a[$index]; 17 function offsetSet($index, $newval) { 18 echo __METHOD__ . "($index,$newval)\n"; 19 /*return*/ $this->a[$index] = $newval; 21 function offsetUnset($index) { 22 echo __METHOD__ . "($index)\n"; [all …]
|
/PHP-7.4/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 …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | stripos_variation12.phpt | 25 for($index = 0; $index < count($haystacks); $index++ ) { 26 var_dump( stripos($haystacks[$index], "\0") ); 27 var_dump( stripos($haystacks[$index], "\0", $index) );
|
H A D | strrpos_variation13.phpt | 27 for($index = 0; $index < count($needles); $index++ ) { 28 var_dump( strrpos($haystack, $needles[$index]) ); 29 var_dump( strrpos($haystack, $needles[$index], $index) );
|
H A D | strrpos_variation12.phpt | 25 for($index = 0; $index < count($haystacks); $index++ ) { 26 var_dump( strrpos($haystacks[$index], "\0") ); 27 var_dump( strrpos($haystacks[$index], "\0", $index) );
|
H A D | stripos_variation13.phpt | 27 for($index = 0; $index < count($needles); $index++ ) { 28 var_dump( stripos($haystack, $needles[$index]) ); 29 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" 258 string(10) "/index.php" 359 string(10) "/index.php" 370 string(10) "/index.php" 442 string(10) "/index.php" 453 string(10) "/index.php" 466 string(10) "/index.php" 477 string(10) "/index.php" 490 string(10) "/index.php" [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 42 $index = 0; 44 if ($row['id'] != $data[$index]['id']) { 46 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 49 if ($row['label'] != $data[$index]['label']) { 51 var_export($data[$index]['label'], true), gettype($data[$index]['label']), 54 $index++; 82 $index = 0; 84 if ($row['id'] != $data[$index]['id']) { 86 var_export($data[$index]['id'], true), gettype($data[$index]['id']), 91 var_export($data[$index]['label'], true), gettype($data[$index]['label']), [all …]
|
/PHP-7.4/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-7.4/ext/dom/ |
H A D | nodelist.c | 31 ZEND_ARG_INFO(0, index) 133 zend_long index; in PHP_FUNCTION() local 143 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &index) == FAILURE) { in PHP_FUNCTION() 147 if (index >= 0) { in PHP_FUNCTION() 154 itemnode = php_dom_libxml_hash_iter(objmap->ht, index); in PHP_FUNCTION() 156 itemnode = php_dom_libxml_notation_iter(objmap->ht, index); in PHP_FUNCTION() 161 zval *entry = zend_hash_index_find(nodeht, index); in PHP_FUNCTION() 171 while (count < index && curnode != NULL) { in PHP_FUNCTION() 182 …get_elements_by_tag_name_ns_raw(nodep, (char *) objmap->ns, (char *) objmap->local, &count, index); in PHP_FUNCTION()
|
H A D | dom_iterators.c | 32 int index; member 39 int index; member 51 if(priv->cur < priv->index) { in itemHashScanner() 85 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ in php_dom_libxml_hash_iter() argument 91 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_hash_iter() 94 iter->index = index; in php_dom_libxml_hash_iter() 112 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_notation_iter() 115 iter->index = index; in php_dom_libxml_notation_iter() 163 ZVAL_LONG(key, iter->index); in php_dom_iterator_current_key() 231 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward() [all …]
|
/PHP-7.4/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() 138 entry->next = accel_hash->hash_table[index]; in zend_accel_hash_update() 139 accel_hash->hash_table[index] = entry; in zend_accel_hash_update() 145 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() 232 zend_ulong index; in zend_accel_hash_unlink() local 241 entry = accel_hash->hash_table[index]; in zend_accel_hash_unlink() [all …]
|
/PHP-7.4/ext/pcre/tests/ |
H A D | preg_grep_basic.phpt | 9 $array = array('HTTP://WWW.EXAMPLE.COM', '/index.html', '/info/stat/', 'http://test.uk.com/index/ht… 23 string(11) "/index.html" 27 string(29) "http://test.uk.com/index/html" 35 string(29) "http://test.uk.com/index/html" 41 string(11) "/index.html" 45 string(29) "http://test.uk.com/index/html" 51 string(29) "http://test.uk.com/index/html" 57 string(11) "/index.html"
|
/PHP-7.4/ext/zip/tests/ |
H A D | utils.inc | 6 for ($index = 0; $index < $zip->numFiles; $index++) { 7 $stat = $zip->statIndex($index);
|
/PHP-7.4/ext/hash/ |
H A D | hash_sha.c | 343 partLen = 64 - index; in PHP_SHA1Update() 355 index = 0; in PHP_SHA1Update() 388 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA1Final() 565 index = 0; in PHP_SHA224Update() 597 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA224Final() 642 index = 0; in PHP_SHA256Update() 674 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA256Final() 856 index = 0; in PHP_SHA384Update() 894 padLen = (index < 112) ? (112 - index) : (240 - index); in PHP_SHA384Final() 1005 index = 0; in PHP_SHA512Update() [all …]
|
H A D | hash_haval.c | 295 partLen = 128 - index; in PHP_HAVALUpdate() 307 index = 0; in PHP_HAVALUpdate() 324 unsigned int index, padLen; in PHP_HAVAL128Final() local 338 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL128Final() 378 unsigned int index, padLen; in PHP_HAVAL160Final() local 392 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL160Final() 432 unsigned int index, padLen; in PHP_HAVAL192Final() local 446 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL192Final() 472 unsigned int index, padLen; in PHP_HAVAL224Final() local 486 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL224Final() [all …]
|
/PHP-7.4/ext/pdo/tests/ |
H A D | pdo_038.phpt | 2 PDOStatement::fetchColumn() invalid column index 16 function fetchColumn($stmt, $index) { 18 return $stmt->fetchColumn($index); 40 Warning: PDOStatement::fetchColumn(): SQLSTATE[HY000]: General error: Invalid column index in %s 44 Warning: PDOStatement::fetchColumn(): SQLSTATE[HY000]: General error: Invalid column index in %s
|
/PHP-7.4/ext/posix/tests/ |
H A D | posix_getgrgid.phpt | 16 die('Array index "name" does not exist.'); 19 die('Array index "passwd" does not exist.'); 22 die('Array index "members" does not exist.'); 24 die('Array index "members" must be an array.'); 38 die('Array index "gid" does not exist.');
|