/PHP-7.4/ |
H A D | NEWS | 2182 . Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical 2741 . Fixed bug #76712 (Assignment of empty string creates extraneous text node).
|
/PHP-7.4/Zend/tests/ |
H A D | bug78502.phpt | 26 tree_map($tree, 'children', function ($node) {});
|
H A D | gc_017.phpt | 15 function insert($node) { 16 $node->parent = $this; 17 $this->children[] = $node;
|
H A D | remove_predecessor_of_pi_node.phpt | 2 Regression test for incorrect update of pi node users when removing a predecessor block
|
H A D | unset_prop_recursion.phpt | 8 function insert(Node $node) { 9 $node->parent = $this; 10 $this->children[] = $node;
|
/PHP-7.4/Zend/ |
H A D | zend_ast.c | 48 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_znode(znode *node) { in zend_ast_create_znode() argument 55 ast->node = *node; in zend_ast_create_znode()
|
H A D | zend_compile.c | 2237 if (node->op_type == IS_CONST && Z_TYPE(node->u.constant) == IS_STRING) { in zend_handle_numeric_op() 2241 zval_ptr_dtor(&node->u.constant); in zend_handle_numeric_op() 2242 ZVAL_LONG(&node->u.constant, index); in zend_handle_numeric_op() 2426 if (node->op_type == IS_VAR) { in zend_separate_if_call_and_write() 7597 znode *node = Z_PTR_P(zv); in znode_dtor() local 7598 if (node->op_type == IS_CONST) { in znode_dtor() 7599 zval_ptr_dtor_nogc(&node->u.constant); in znode_dtor() 7601 efree(node); in znode_dtor() 7667 if (node->op_type == IS_TMP_VAR || node->op_type == IS_VAR) { in zend_compile_assign_coalesce() 7678 if (node->op_type == IS_TMP_VAR || node->op_type == IS_VAR) { in zend_compile_assign_coalesce() [all …]
|
H A D | zend_compile.h | 92 znode node; member 617 (node).jmp_addr 620 (node).jmp_addr = (val); \ 625 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \ 630 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \ 645 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \ 659 # define CT_CONSTANT(node) \ argument 666 (node).zv 670 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \ 685 (node).constant = \ [all …]
|
H A D | zend_execute.c | 112 #define get_zval_ptr(op_type, node, should_free, type) _get_zval_ptr(op_type, node, should_free, ty… argument 117 #define get_zval_ptr_ptr(op_type, node, should_free, type) _get_zval_ptr_ptr(op_type, node, should_… argument 405 return RT_CONSTANT(opline, node); in _get_zval_ptr() 426 return RT_CONSTANT(opline + 1, node); in _get_op_data_zval_ptr_r() 447 return RT_CONSTANT(opline, node); in _get_zval_ptr_deref() 468 return RT_CONSTANT(opline + 1, node); in _get_op_data_zval_ptr_deref_r() 489 return RT_CONSTANT(opline, node); in _get_zval_ptr_undef() 491 return EX_VAR(node.var); in _get_zval_ptr_undef() 4750 ret = RT_CONSTANT(opline, *node); in zend_get_zval_ptr() 4755 ret = EX_VAR(node->var); in zend_get_zval_ptr() [all …]
|
H A D | zend_execute.h | 334 ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const ze…
|
H A D | zend_generators.c | 185 next->node.parent = NULL; in zend_generator_dtor_storage() 461 …zend_generator *root = (generator->node.children < 1 ? generator : generator->node.ptr.leaf)->node… in zend_generator_check_placeholder_frame() 502 if (node->children == 0) { in zend_generator_get_child() 514 node = &node->child.single.child->node; in zend_generator_search_multi_children_node() 516 return node->children > 1 ? node : NULL; in zend_generator_search_multi_children_node() 529 (zend_ulong) node->child.single.leaf, node->child.single.child); in zend_generator_add_single_child() 530 node->child.ht = ht; in zend_generator_add_single_child() 536 node->children++; in zend_generator_add_single_child() 552 zend_generator *leaf = child->node.children ? child->node.ptr.leaf : child; in zend_generator_add_child() 558 leaf->node.ptr.root = generator->node.ptr.root; in zend_generator_add_child() [all …]
|
H A D | zend_generators.h | 85 zend_generator_node node; member 118 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current() 123 leaf = generator->node.children ? generator->node.ptr.leaf : generator; in zend_generator_get_current() 124 root = leaf->node.ptr.root; in zend_generator_get_current() 126 if (EXPECTED(root->execute_data && root->node.parent == NULL)) { in zend_generator_get_current()
|
/PHP-7.4/ext/dom/ |
H A D | characterdata.c | 159 xmlNodePtr node; in PHP_FUNCTION() local 171 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 231 xmlNodePtr node; in PHP_FUNCTION() local 245 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 262 xmlNodeSetContent(node, first); in PHP_FUNCTION() 264 xmlNodeAddContent(node, second); in PHP_FUNCTION() 281 xmlNodePtr node; in PHP_FUNCTION() local 293 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 319 xmlNodeSetContent(node, substring); in PHP_FUNCTION() 337 xmlNodePtr node; in PHP_FUNCTION() local [all …]
|
H A D | config.m4 | 19 element.c node.c string_extend.c characterdata.c \
|
H A D | config.w32 | 13 node.c string_extend.c characterdata.c documenttype.c \
|
H A D | document.c | 705 xmlNode *node; in PHP_FUNCTION() local 725 if (!node) { in PHP_FUNCTION() 740 xmlNode *node; in PHP_FUNCTION() local 753 if (!node) { in PHP_FUNCTION() 783 if (!node) { in PHP_FUNCTION() 813 if (!node) { in PHP_FUNCTION() 843 if (!node) { in PHP_FUNCTION() 878 if (!node) { in PHP_FUNCTION() 915 if (!node) { in PHP_FUNCTION() 951 if (!node) { in PHP_FUNCTION() [all …]
|
H A D | dom_iterators.c | 33 xmlNode *node; member 54 if(priv->node == NULL) { in itemHashScanner() 55 priv->node = (xmlNode *)payload; in itemHashScanner() 95 iter->node = NULL; in php_dom_libxml_hash_iter() 97 nodep = iter->node; in php_dom_libxml_hash_iter() 168 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_current_key() 210 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_move_forward()
|
H A D | domimplementation.c | 159 zval *node = NULL; in PHP_METHOD() local 170 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_do… in PHP_METHOD() 174 if (node != NULL) { in PHP_METHOD() 175 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); in PHP_METHOD()
|
H A D | element.c | 529 zval *id, *node; in PHP_FUNCTION() local 536 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &node, dom_attr_class_entry) == FAILURE) { in PHP_FUNCTION() 547 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 562 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION() 596 zval *id, *node; in PHP_FUNCTION() local 614 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 985 zval *id, *node; in PHP_FUNCTION() local 1004 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION() 1025 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION() 1247 zval *id, *node; in PHP_FUNCTION() local [all …]
|
H A D | entityreference.c | 49 xmlNode *node; in PHP_METHOD() local 65 node = xmlNewReference(NULL, (xmlChar *) name); in PHP_METHOD() 67 if (!node) { in PHP_METHOD() 78 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern); in PHP_METHOD()
|
H A D | node.c | 903 node = newchild; in _php_dom_insert_fragment() 917 node = node->next; in _php_dom_insert_fragment() 1185 zval *id, *node; in PHP_FUNCTION() local 1237 zval *id, *node; in PHP_FUNCTION() local 1369 xmlNode *n, *node; in PHP_FUNCTION() local 1383 if (!node) { in PHP_FUNCTION() 1407 node->ns = ns; in PHP_FUNCTION() 1411 node->properties = xmlCopyPropList(node, n->properties); in PHP_FUNCTION() 1511 zval *id, *node; in PHP_FUNCTION() local 1739 ctxp->node = NULL; in dom_canonicalization() [all …]
|
H A D | php_dom.c | 118 switch (node->type) { in dom_node_is_read_only() 142 switch (node->type) { in dom_node_children_valid() 468 if (intern->node) { in php_dom_export_node() 469 nodep = intern->node->node; in php_dom_export_node() 480 zval *node; in PHP_FUNCTION() local 512 if (node != NULL) { in dom_objects_store_clone_obj() 513 xmlNodePtr cloned_node = xmlDocCopyNode(node, node->doc, 1); in dom_objects_store_clone_obj() 999 node = node->next; in node_list_unlink() 1526 if (node == NULL) in dom_get_nsdecl() 1530 cur = node->nsDef; in dom_get_nsdecl() [all …]
|
H A D | php_dom.h | 109 void node_list_unlink(xmlNodePtr node); 111 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix); 113 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName); 119 int dom_node_is_read_only(xmlNodePtr node); 120 int dom_node_children_valid(xmlNodePtr node); 138 if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \
|
/PHP-7.4/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);
|