/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/Zend/tests/ |
H A D | gc_017.phpt | 16 function insert($node) { 17 $node->parent = $this; 18 $this->children[] = $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/ext/dom/ |
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 …]
|
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 | 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 | 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 | 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 | 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 | php_dom.c | 112 switch (node->type) { in dom_node_is_read_only() 136 switch (node->type) { in dom_node_children_valid() 557 nodep = intern->node->node; in php_dom_export_node() 568 zval *node; in PHP_FUNCTION() local 1054 node = node->next; in node_list_unlink() 1174 xmlNodePtr node; in dom_objects_clone() local 1181 if (node != NULL) { in dom_objects_clone() 1182 cloned_node = xmlDocCopyNode(node, node->doc, 1); in dom_objects_clone() 1651 if (node == NULL) in dom_get_nsdecl() 1655 cur = node->nsDef; in dom_get_nsdecl() [all …]
|
H A D | php_dom.h | 107 void node_list_unlink(xmlNodePtr node TSRMLS_DC); 109 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix); 111 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName); 117 int dom_node_is_read_only(xmlNodePtr node); 118 int dom_node_children_valid(xmlNodePtr node); 134 if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \
|
/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/ext/dom/tests/ |
H A D | DOMDocument_createAttribute_basic.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($test_attribute);
|
H A D | DOMDocument_createAttribute_error1.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($failed_test_attribute);
|
H A D | DOMDocument_createEntityReference_basic.phpt | 2 DOMDocument::createEntityReference() should create a new entity reference node
|
H A D | DOMDocument_createProcessingInstruction_basic.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($test_proc_inst0); 22 $node->appendChild($test_proc_inst1);
|
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 | DOMNode_C14NFile_basic.phpt | 26 $node = $doc->getElementsByTagName('title')->item(0); 27 var_dump($node->C14NFile($output));
|
H A D | DOMNode_C14N_basic.phpt | 25 $node = $doc->getElementsByTagName('title')->item(0); 26 var_dump($node->C14N());
|
H A D | DOMNode_cloneNode_basic.phpt | 71 echo "node $index\n"; 77 node 0 85 node 1 93 node 2 96 node 3 104 node 4
|