/PHP-8.0/ext/dom/ |
H A D | php_dom.stub.php | 21 /** @param DOMNode|string $nodes */ 22 public function append(...$nodes): void; argument 24 /** @param DOMNode|string $nodes */ 32 /** @param DOMNode|string $nodes */ 35 /** @param DOMNode|string $nodes */ 36 public function after(...$nodes): void; argument 38 /** @param DOMNode|string $nodes */ 122 /** @param DOMNode|string $nodes */ 125 /** @param DOMNode|string $nodes */ 157 /** @param DOMNode|string $nodes */ [all …]
|
H A D | parentnode.c | 157 if (Z_TYPE(nodes[i]) == IS_OBJECT) { in dom_zvals_to_fragment() 158 ce = Z_OBJCE(nodes[i]); in dom_zvals_to_fragment() 161 newNodeObj = Z_DOMOBJ_P(&nodes[i]); in dom_zvals_to_fragment() 198 } else if (Z_TYPE(nodes[i]) == IS_STRING) { in dom_zvals_to_fragment() 199 newNode = xmlNewDocText(documentNode, (xmlChar *) Z_STRVAL(nodes[i])); in dom_zvals_to_fragment() 237 void dom_parent_node_append(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_append() argument 269 void dom_parent_node_prepend(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_prepend() argument 274 dom_parent_node_append(context, nodes, nodesc); in dom_parent_node_prepend() 301 void dom_parent_node_after(dom_object *context, zval *nodes, int nodesc) in dom_parent_node_after() argument 315 fragment = dom_zvals_to_fragment(context->document, parentNode, nodes, nodesc); in dom_parent_node_after() [all …]
|
H A D | php_dom.h | 129 void dom_parent_node_prepend(dom_object *context, zval *nodes, int nodesc); 130 void dom_parent_node_append(dom_object *context, zval *nodes, int nodesc); 131 void dom_parent_node_after(dom_object *context, zval *nodes, int nodesc); 132 void dom_parent_node_before(dom_object *context, zval *nodes, int nodesc);
|
/PHP-8.0/ext/dom/tests/ |
H A D | DOMNode_normalize_basic.phpt | 16 * Calculate the number of title text nodes (1). 18 * Normalize author. Calculate the number of title text nodes (2). 19 * Normalize title. Calculate the number of title text nodes (1). 36 echo "Number of child nodes of title = "; 49 echo "Number of child nodes of title after normalizing author = "; 53 // should concatenate first and second title text nodes 56 echo "Number of child nodes of title after normalizing title = "; 61 Number of child nodes of title = int(1) 62 Number of child nodes of title after adding second title = int(2) 63 Number of child nodes of title after normalizing author = int(2) [all …]
|
H A D | DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt | 11 echo "has child nodes\n"; 13 echo "has no child nodes\n"; 17 echo "has child nodes\n"; 19 echo "has no child nodes\n"; 23 has no child nodes 24 has child nodes
|
H A D | bug67949.phpt | 15 $nodes = $doc->getElementsByTagName('div'); 18 var_dump(isset($nodes[0])); 19 var_dump(isset($nodes[1])); 20 var_dump(isset($nodes[-1])); 23 var_dump($nodes[0]->textContent); 24 var_dump($nodes[1]->textContent); 29 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); 36 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); 41 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); 46 var_dump($nodes[][] = 1);
|
H A D | DOMNode_hasChildNodes_basic.phpt | 2 Test whether a node has child nodes: hasChildNodes() 15 * Check for child nodes of the <book>, <title> and This is the title 30 echo "Root has child nodes: "; 33 echo "Title has child nodes: "; 36 echo "Text has child nodes: "; 41 Root has child nodes: bool(true) 42 Title has child nodes: bool(true) 43 Text has child nodes: bool(false)
|
H A D | DOMNode_hasChildNodes.phpt | 17 echo "Document has child nodes\n"; 20 echo "Document has child nodes\n"; 28 echo "Document has child nodes\n"; 31 echo "Document with 2 child nodes\n"; 39 Document has child nodes 41 Document has child nodes 46 Document has child nodes 48 Document with 2 child nodes
|
H A D | bug42082.phpt | 9 $nodes = $xpath->query('*'); 10 echo get_class($nodes), "\n"; 11 var_dump($nodes->length); 12 $length = $nodes->length; 13 var_dump(empty($nodes->length), empty($length));
|
H A D | DOMNode_getLineNo_basic.phpt | 12 $nodes = $doc->getElementsByTagName('title'); 13 foreach($nodes as $node) {
|
H A D | bug43364.phpt | 2 Bug #43364 (recursive xincludes don't remove internal xml nodes properly) 7 function loopElements($nodes) 10 foreach($nodes as $node) {
|
H A D | DOMNode_getNodePath_basic.phpt | 12 $nodes = $doc->getElementsByTagName('title'); 13 foreach($nodes as $node) {
|
H A D | DOMNode_removeChild_basic.phpt | 42 echo "original has $len nodes\n"; 53 echo "after text removed it now has $len nodes\n"; 61 original has 5 nodes 90 after text removed it now has 2 nodes
|
H A D | bug78221.phpt | 2 Bug #78221 (DOMNode::normalize() doesn't remove empty text nodes)
|
H A D | DOMNamedNodeMap_count.phpt | 2 Test count nodes in DOMNamedNodeMap
|
H A D | DomNodeList_count.phpt | 2 Test count nodes in DOMNodeList
|
H A D | bug41374.phpt | 2 Bug #41374 (wholetext concats values of wrong nodes)
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug43925.phpt | 15 @$dbh->query('DROP TABLE nodes'); 18 CREATE TABLE nodes 26 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (1, 1, 1, 6);'); 27 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (2, 1, 2, 3);'); 28 $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (3, 1, 4, 5);'); 33 FROM nodes 53 $dbh->query('DROP TABLE nodes');
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | bug48601.phpt | 10 $nodes = $sxe->xpath("/root/node2/@test"); 12 if (! is_array($nodes)) { 15 echo "Result Count: " . count($nodes) . "\n";
|
H A D | bug69491.phpt | 2 Bug #69491 (simplexml doesn't correctly parse empty nodes on same line as another node)
|
H A D | bug46047.phpt | 2 Bug #46047 (SimpleXML converts empty nodes into object with nested array)
|
H A D | bug44478.phpt | 2 Bug #44478 (Inconsistent behaviour when assigning new nodes)
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug78438.phpt | 64 $nodes = [$tree]; 67 while (count($nodes) > 0) { 70 $node = array_shift($nodes); 72 $nodes[] = $node;
|
/PHP-8.0/ext/xmlreader/tests/ |
H A D | next_basic.phpt | 8 $xml = '<?xml version="1.0" encoding="UTF-8"?><nodes><node1><sub /></node1> 9 <node2><sub /></node2><node3><sub /></node3><node4><sub /></node4></nodes>';
|
/PHP-8.0/Zend/tests/ |
H A D | replace_pred_pi_node.phpt | 2 Handling of pi nodes when replacing a predecessor
|