/PHP-5.5/ext/dom/tests/ |
H A D | dom_comment_variation.phpt | 20 for ($index = 0; $index < $children->length; $index++) { 21 echo "--- child $index ---\n"; 22 $current = $children->item($index);
|
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-5.5/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_004.phpt | 40 --> http://www.php.net/index.php : NULL 45 --> http://www.php.net:80/index.php : int(80) 46 --> http://www.php.net:80/foo/bar/index.php : int(80) 54 --> http://www.php.net:80/index.php : int(80) 55 --> http://www.php.net:80/index.php? : int(80) 61 --> http://www.php.net:80/index.php?test=1& : int(80) 62 --> http://www.php.net/index.php?& : NULL 63 --> http://www.php.net:80/index.php?foo& : int(80) 64 --> http://www.php.net/index.php?&foo : NULL 65 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : int(80) [all …]
|
/PHP-5.5/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-5.5/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-5.5/ext/dom/ |
H A D | nodelist.c | 33 ZEND_ARG_INFO(0, index) 108 long index; in PHP_FUNCTION() local 119 …rs(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_nodelist_class_entry, &index) == FAILURE) { in PHP_FUNCTION() 123 if (index >= 0) { in PHP_FUNCTION() 130 itemnode = php_dom_libxml_hash_iter(objmap->ht, index); in PHP_FUNCTION() 132 itemnode = php_dom_libxml_notation_iter(objmap->ht, index); in PHP_FUNCTION() 137 if (zend_hash_index_find(nodeht, index, (void **) &entry)==SUCCESS) { in PHP_FUNCTION() 147 while (count < index && curnode != NULL) { in PHP_FUNCTION() 158 … itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index); in PHP_FUNCTION()
|
H A D | dom_iterators.c | 34 int index; member 41 int index; member 49 if(priv->cur < priv->index) { in itemHashScanner() 83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ in php_dom_libxml_hash_iter() argument 89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_hash_iter() 92 iter->index = index; in php_dom_libxml_hash_iter() 110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_notation_iter() 113 iter->index = index; in php_dom_libxml_notation_iter() 166 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-5.5/ext/mysqli/ |
H A D | mysqli_embedded.c | 43 int index, rc; in PHP_FUNCTION() local 60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) { in PHP_FUNCTION() 69 arguments[++index] = Z_STRVAL_PP(item); in PHP_FUNCTION() 81 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(grps), &pos)) { in PHP_FUNCTION() 90 groups[++index] = Z_STRVAL_PP(item); in PHP_FUNCTION() 92 groups[index] = NULL; in PHP_FUNCTION()
|
H A D | mysqli_report.c | 58 char index[15]; in php_mysqli_report_index() local 61 strcpy(index, "Bad index"); in php_mysqli_report_index() 63 strcpy(index, "No index"); in php_mysqli_report_index() 67 …_throw_sql_exception("00000", 0 TSRMLS_CC, "%s used in query/prepared statement %s", index, query); in php_mysqli_report_index()
|
/PHP-5.5/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-5.5/ext/standard/tests/strings/ |
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 …]
|
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_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 | 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 | 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) );
|
/PHP-5.5/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-5.5/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-5.5/ext/hash/ |
H A D | hash_sha.c | 347 partLen = 64 - index; in PHP_SHA1Update() 359 index = 0; in PHP_SHA1Update() 392 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA1Final() 567 index = 0; in PHP_SHA224Update() 599 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA224Final() 644 index = 0; in PHP_SHA256Update() 676 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_SHA256Final() 858 index = 0; in PHP_SHA384Update() 898 padLen = (index < 112) ? (112 - index) : (240 - index); in PHP_SHA384Final() 972 index = 0; in PHP_SHA512Update() [all …]
|
H A D | hash_haval.c | 297 partLen = 128 - index; in PHP_HAVALUpdate() 309 index = 0; in PHP_HAVALUpdate() 326 unsigned int index, padLen; in PHP_HAVAL128Final() local 340 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL128Final() 380 unsigned int index, padLen; in PHP_HAVAL160Final() local 394 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL160Final() 434 unsigned int index, padLen; in PHP_HAVAL192Final() local 448 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL192Final() 474 unsigned int index, padLen; in PHP_HAVAL224Final() local 488 padLen = (index < 118) ? (118 - index) : (246 - index); in PHP_HAVAL224Final() [all …]
|
H A D | hash_ripemd.c | 269 partLen = 64 - index; in PHP_RIPEMD128Update() 281 index = 0; in PHP_RIPEMD128Update() 367 partLen = 64 - index; in PHP_RIPEMD256Update() 379 index = 0; in PHP_RIPEMD256Update() 466 partLen = 64 - index; in PHP_RIPEMD160Update() 478 index = 0; in PHP_RIPEMD160Update() 586 index = 0; in PHP_RIPEMD320Update() 642 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD128Final() 679 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD256Final() 716 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD160Final() [all …]
|