22#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
28typedef struct dom_named_item {
84 dom_named_item named_item = dom_html_collection_named_item(
key,
zobj);
85 if (named_item.node !=
NULL) {
86 DOM_RET_OBJ(named_item.node, named_item.context_intern);
115 dom_html_collection_named_item_into_zval(
rv, index.
str,
object);
136 return dom_html_collection_named_item(index.
str,
object).node !=
NULL;
zval * dom_html_collection_read_dimension(zend_object *object, zval *offset, int type, zval *rv)
int dom_html_collection_has_dimension(zend_object *object, zval *member, int check_empty)
PHP_DOM_EXPORT const php_dom_ns_magic_token * php_dom_ns_is_html_magic_token
PHP_DOM_EXPORT bool php_dom_ns_is_fast(const xmlNode *nodep, const php_dom_ns_magic_token *magic_token)
dom_nodelist_dimension_index dom_modern_nodelist_get_index(const zval *offset)
@ DOM_NODELIST_DIM_STRING
@ DOM_NODELIST_DIM_ILLEGAL
zend_long php_dom_get_nodelist_length(dom_object *obj)
void php_dom_nodelist_get_item_into_zval(dom_nnodemap_object *objmap, zend_long index, zval *return_value)
bool dom_compare_value(const xmlAttr *attr, const xmlChar *value)
xmlNode * dom_get_elements_by_tag_name_ns_raw(xmlNodePtr basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *local_lower, zend_long *cur, zend_long index)
unsigned char key[REFLECTION_KEY_LEN]
enum dom_nodelist_dimension_index_type type
PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj)
struct _dom_object dom_object
#define DOM_RET_OBJ(obj, domobject)
ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format,...)
ZEND_API ZEND_COLD void zend_illegal_container_offset(const zend_string *container, const zval *offset, int type)
#define ZEND_PARSE_PARAMETERS_END()
#define Z_PARAM_STR(dest)
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
struct _zend_string zend_string
#define ZEND_IGNORE_VALUE(x)
#define UNEXPECTED(condition)
struct _zend_object zend_object