/PHP-5.5/ext/dom/tests/ |
H A D | DOMDocument_createProcessingInstruction_error.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 19 $node->appendChild($test_proc_inst);
|
H A D | dom_test.inc | 23 function print_node($node) 25 print "Node Name: " . $node->nodeName; 26 print "\nNode Type: " . $node->nodeType; 27 if ($node->nodeType != 3) { 28 $child_count = $node->childNodes->length; 34 print "\nNode Content: " . $node->nodeValue; 41 foreach($nodelist as $node) 43 print_node($node);
|
H A D | DOMNode_replaceChild_basic.phpt | 2 Replacing a child node 14 // Replaces the child node oldChild with newChild in the list of children, and 15 // returns the oldChild node.
|
/PHP-5.5/ext/dom/ |
H A D | element.c | 534 zval *id, *node; in PHP_FUNCTION() local 540 …END_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_ent… in PHP_FUNCTION() 551 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 566 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION() 600 zval *id, *node; in PHP_FUNCTION() local 617 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 958 zval *id, *node; in PHP_FUNCTION() local 976 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 997 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION() 1216 zval *id, *node; in PHP_FUNCTION() local [all …]
|
H A D | node.c | 970 node = newchild; in _php_dom_insert_fragment() 984 node = node->next; in _php_dom_insert_fragment() 1250 zval *id, *node; in PHP_FUNCTION() local 1301 zval *id, *node; in PHP_FUNCTION() local 1431 xmlNode *n, *node; in PHP_FUNCTION() local 1444 if (!node) { in PHP_FUNCTION() 1468 node->ns = ns; in PHP_FUNCTION() 1472 node->properties = xmlCopyPropList(node, n->properties); in PHP_FUNCTION() 1571 zval *id, *node; in PHP_FUNCTION() local 1792 ctxp->node = NULL; in dom_canonicalization() [all …]
|
H A D | domimplementation.c | 153 zval *node = NULL; in PHP_METHOD() local 163 …ers(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_c… in PHP_METHOD() 167 if (node != NULL) { in PHP_METHOD() 168 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); in PHP_METHOD()
|
H A D | entityreference.c | 52 xmlNode *node; in PHP_METHOD() local 73 node = xmlNewReference(NULL, name); in PHP_METHOD() 75 if (!node) { in PHP_METHOD() 86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); in PHP_METHOD()
|
H A D | config.m4 | 25 element.c node.c string_extend.c characterdata.c \
|
H A D | config.w32 | 11 node.c string_extend.c characterdata.c documenttype.c \
|
H A D | document.c | 905 xmlNode *node; in PHP_FUNCTION() local 923 if (!node) { in PHP_FUNCTION() 938 xmlNode *node; in PHP_FUNCTION() local 950 if (!node) { in PHP_FUNCTION() 978 if (!node) { in PHP_FUNCTION() 1006 if (!node) { in PHP_FUNCTION() 1034 if (!node) { in PHP_FUNCTION() 1067 if (!node) { in PHP_FUNCTION() 1102 if (!node) { in PHP_FUNCTION() 1136 if (!node) { in PHP_FUNCTION() [all …]
|
H A D | dom.dsp | 182 SOURCE=.\node.c
|
H A D | dom_iterators.c | 35 xmlNode *node; member 52 if(priv->node == NULL) { in itemHashScanner() 53 priv->node = (xmlNode *)payload; in itemHashScanner() 93 iter->node = NULL; in php_dom_libxml_hash_iter() 95 nodep = iter->node; in php_dom_libxml_hash_iter() 171 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_current_key() 211 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_move_forward()
|
H A D | characterdata.c | 178 xmlNodePtr node; in PHP_FUNCTION() local 189 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 260 xmlNodePtr node; in PHP_FUNCTION() local 272 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 289 xmlNodeSetContent(node, first); in PHP_FUNCTION() 290 xmlNodeAddContent(node, arg); in PHP_FUNCTION() 291 xmlNodeAddContent(node, second); in PHP_FUNCTION() 308 xmlNodePtr node; in PHP_FUNCTION() local 319 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 363 xmlNodePtr node; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/ext/dom/examples/ |
H A D | dom1.inc | 23 function print_node($node) 25 print "Node Name: " . $node->nodeName; 26 print "\nNode Type: " . $node->nodeType; 27 $child_count = $node->childNodes->length; 30 print "\nNode Content: " . $node->nodeValue; 37 foreach($nodelist as $node) 39 print_node($node);
|
/PHP-5.5/Zend/ |
H A D | zend_execute.c | 53 #define get_zval_ptr(op_type, node, ex, should_free, type) _get_zval_ptr(op_type, node, ex, should_… argument 54 #define get_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_zval_ptr_ptr(op_type, node, ex,… argument 55 #define get_obj_zval_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr(op_type, node, ex,… argument 56 #define get_obj_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr_ptr(op_type, n… argument 354 return node->zv; in _get_zval_ptr() 357 should_free->var = TMP_FREE(&EX_T(node->var).tmp_var); in _get_zval_ptr() 358 return &EX_T(node->var).tmp_var; in _get_zval_ptr() 369 return _get_zval_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr() 453 return _get_zval_ptr_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr_ptr() 1732 return get_zval_ptr(op_type, node, execute_data, should_free, type); in zend_get_zval_ptr() [all …]
|
H A D | zend_execute.h | 384 ZEND_API zval *zend_get_zval_ptr(int op_type, const znode_op *node, const zend_execute_data *execut… 385 ZEND_API zval **zend_get_zval_ptr_ptr(int op_type, const znode_op *node, const zend_execute_data *e…
|
/PHP-5.5/Zend/tests/ |
H A D | gc_017.phpt | 16 function insert($node) { 17 $node->parent = $this; 18 $this->children[] = $node;
|
/PHP-5.5/ |
H A D | NEWS | 336 node name). (Christoph Michael Becker) 1222 . Fixed bug #66084 (simplexml_load_string() mangles empty node name) 2782 . Implemented FR #55218 Get namespaces from current node. (Lonny) 4190 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes) 5206 - Changed tidyNode class to disallow manual node creation. (Pierrick) 5223 single text node when using libxml2.7.3+. (Kalle) 6066 - Added DOMNode::getLineNo to get line number of parsed node. (Rob) 7280 - Fixed bug #42112 (deleting a node produces memory corruption). (Rob) 7325 - Fixed bug #41833 (addChild() on a non-existent node, no node created, 7686 node). (Tony) [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug54971.phpt | 12 <node>val1</node> 13 <node>val2</node> 22 $items = $xpath->query('//node');
|
H A D | bug65328.phpt | 40 /** @var Node $node */ 41 foreach($iterator as $node) { 42 if($node->getUid() === $uid) { 43 return $node; 58 /** @var Node $node */ 60 if($node->getUid() == $uid) { 61 $result->push($node); 200 * @param Node $node 206 $headNode = $node; 208 $headNode = $node; [all …]
|
/PHP-5.5/ext/simplexml/tests/ |
H A D | bug61335.phpt | 2 Bug #61335 - Access to array node returns wrong truth value
|
H A D | bug66084_0.phpt | 2 Bug #66084 simplexml_load_string() mangles empty node name, var_dump variant
|
H A D | bug69491.phpt | 2 Bug #69491 (simplexml doesn't correctly parse empty nodes on same line as another node)
|