23#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
36 xmlNodePtr nodep =
NULL, oldnode =
NULL;
45 nodep = xmlNewComment(BAD_CAST
value);
54 if (oldnode !=
NULL) {
55 php_libxml_node_decrement_resource((php_libxml_node_object *)intern);
57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (
void *)intern);
void php_dom_throw_error(dom_exception_code error_code, bool strict_error)
PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj)
struct _dom_object dom_object
ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec,...)