Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 44) sorted by relevance

12

/PHP-8.4/ext/dom/tests/modern/spec/
H A DDocument_createAttributeNS.phpt20 $attrs = [];
25 $attrs[] = $dom->createAttributeNS('urn:a', 'foo:bar');
26 $attrs[] = $dom->createAttributeNS('urn:a', 'bar:bar');
42 foreach ($attrs as $attr) {
48 foreach ($attrs as $attr) {
57 $attrs = [];
58 $attrs[] = $dom->createAttributeNS(null, 'baz1');
59 $attrs[] = $dom->createAttributeNS(null, 'baz2');
60 $attrs[] = $dom->createAttributeNS('', 'baz1');
61 $attrs[] = $dom->createAttributeNS('', 'baz2');
[all …]
H A DElement_setAttribute_without_namespace.phpt13 $attrs = [];
20 $attrs[] = setAttribute($container, "foo:bar", "&hello1");
22 $attrs[] = setAttribute($container, "foo:bar", "&hello2");
24 $attrs[] = setAttribute($container, "bar", "&hello3");
26 $attrs[] = setAttribute($container, "xmlns", "&hello4");
28 $attrs[] = setAttribute($container, "XMLns", "&hello5");
30 $attrs[] = setAttribute($container, "BAR", "&hello6");
34 foreach ($attrs as $attr) {
H A DElement_setAttribute_with_namespace.phpt13 $attrs = [];
20 $attrs[] = setAttribute($container, "foo:bar", "&hello1");
22 $attrs[] = setAttribute($container, "foo:bar", "&hello2");
24 $attrs[] = setAttribute($container, "bar", "&hello3");
26 $attrs[] = setAttribute($container, "xmlns", "&hello4");
28 $attrs[] = setAttribute($container, "XMLns", "&hello5");
30 $attrs[] = setAttribute($container, "BAR", "&hello6");
34 $attrs[] = setAttribute($container, "in:ns", "&hello7");
38 foreach ($attrs as $attr) {
/PHP-8.4/ext/dom/tests/compareDocumentPosition/
H A Dattribute_order_same_element.phpt14 $attrs = $dom->documentElement->attributes;
23 var_dump($attrs[$i]->compareDocumentPosition($attrs[$j % 3]) === $expected);
/PHP-8.4/ext/ldap/tests/
H A Dldap_mod_ext.phpt29 … ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
30 … ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
43 … ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
44 … ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
H A Dldap_rename_ext.phpt24 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]],
25 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]]
H A Dldap_delete_ext.phpt29 … [['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['dc', 'o']]]]
/PHP-8.4/ext/xml/tests/
H A Dgh12254.phpt9 xml_set_element_handler($parser, function ($parser, $name, $attrs) {
11 var_dump($name, $attrs);
H A Dgh15868.phpt9 function ($parser, $name, $attrs) {
22 function ($parser, $name, $attrs) {
H A Dgh17187_2.phpt16 xml_set_element_handler($this->parser, function ($parser, $name, $attrs) {
18 var_dump($name, $attrs);
H A Dgh17187_1.phpt16 xml_set_element_handler($this->parser, function ($parser, $name, $attrs) {
18 var_dump($name, $attrs);
H A Dbug32001b.phpt33 function start_element($parser, $name, $attrs) {
34 $attrs = array_map('bin2hex', $attrs);
35 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
/PHP-8.4/ext/dom/lexbor/lexbor/html/
H A Dtokenizer.c98 tkz->attrs = NULL; in lxb_html_tokenizer_init()
123 tkz_to->attrs = tkz_from->attrs; in lxb_html_tokenizer_inherit()
261 tkz->attrs = lexbor_hash_create(); in lxb_html_tokenizer_attrs_make()
262 return lexbor_hash_init(tkz->attrs, table_size, in lxb_html_tokenizer_attrs_make()
269 tkz->attrs = lexbor_hash_destroy(tkz->attrs, true); in lxb_html_tokenizer_attrs_destroy()
284 if (tkz->attrs == NULL) { in lxb_html_tokenizer_begin()
H A Dtokenizer.h42 lexbor_hash_t *attrs; member
182 lxb_html_tokenizer_attrs_set(lxb_html_tokenizer_t *tkz, lexbor_hash_t *attrs) in lxb_html_tokenizer_attrs_set() argument
184 tkz->attrs = attrs; in lxb_html_tokenizer_attrs_set()
190 return tkz->attrs; in lxb_html_tokenizer_attrs()
H A Dtree.c546 lexbor_hash_t *attrs; in lxb_html_tree_adjust_mathml_attributes() local
549 attrs = attr->node.owner_document->attrs; in lxb_html_tree_adjust_mathml_attributes()
550 data = lxb_dom_attr_data_by_id(attrs, attr->node.local_name); in lxb_html_tree_adjust_mathml_attributes()
556 data = lxb_dom_attr_qualified_name_append(attrs, in lxb_html_tree_adjust_mathml_attributes()
572 lexbor_hash_t *attrs; in lxb_html_tree_adjust_svg_attributes() local
579 attrs = attr->node.owner_document->attrs; in lxb_html_tree_adjust_svg_attributes()
581 data = lxb_dom_attr_data_by_id(attrs, attr->node.local_name); in lxb_html_tree_adjust_svg_attributes()
590 data = lxb_dom_attr_qualified_name_append(attrs, in lxb_html_tree_adjust_svg_attributes()
610 lexbor_hash_t *attrs, *prefix; in lxb_html_tree_adjust_foreign_attributes() local
619 attrs = attr->node.owner_document->attrs; in lxb_html_tree_adjust_foreign_attributes()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dattr.c61 data = lxb_dom_attr_data_by_id(attr->node.owner_document->attrs, in lxb_dom_attr_interface_clone()
71 data = lxb_dom_attr_qualified_name_append(document->attrs, in lxb_dom_attr_interface_clone()
136 data = lxb_dom_attr_local_name_append(doc->attrs, name, length); in lxb_dom_attr_set_name()
144 data = lxb_dom_attr_qualified_name_append(doc->attrs, name, length); in lxb_dom_attr_set_name()
183 data = lxb_dom_attr_local_name_append(doc->attrs, &name[(length + 1)], in lxb_dom_attr_set_name_ns()
192 data = lxb_dom_attr_qualified_name_append(doc->attrs, name, name_length); in lxb_dom_attr_set_name_ns()
468 data = lxb_dom_attr_data_by_id(attr->node.owner_document->attrs, in lxb_dom_attr_qualified_name()
472 data = lxb_dom_attr_data_by_id(attr->node.owner_document->attrs, in lxb_dom_attr_qualified_name()
H A Ddocument.c106 document->attrs = owner->attrs; in lxb_dom_document_init()
155 document->attrs = lexbor_hash_create(); in lxb_dom_document_init()
156 status = lexbor_hash_init(document->attrs, 128, in lxb_dom_document_init()
172 lexbor_hash_destroy(document->attrs, true); in lxb_dom_document_init()
186 lexbor_hash_clean(document->attrs); in lxb_dom_document_clean()
217 lexbor_hash_destroy(document->attrs, true); in lxb_dom_document_destroy()
H A Ddocument_type.c57 data = lxb_dom_attr_data_by_id(dtype->node.owner_document->attrs, in lxb_dom_document_type_interface_clone()
63 data = lxb_dom_attr_qualified_name_append(document->attrs, in lxb_dom_document_type_interface_clone()
H A Ddocument_type.h52 data = lxb_dom_attr_data_by_id(doc_type->node.owner_document->attrs, in lxb_dom_document_type_name()
/PHP-8.4/ext/pdo/tests/
H A Dbug_44159.phpt19 $attrs = array(PDO::ATTR_STATEMENT_CLASS, PDO::ATTR_STRINGIFY_FETCHES);
21 foreach ($attrs as $attr) {
/PHP-8.4/ext/dom/tests/
H A DtoString_exceptions.phpt26 $attrs = $node->attributes;
27 $attr = $attrs[0];
H A Dbug67081.phpt38 <!ENTITY % attrs "%coreattrs;">
/PHP-8.4/ext/xml/
H A Dcompat.c78 xmlChar **attrs = NULL; in start_element_handler_ns() local
157 attrs = safe_emalloc((nb_attributes * 2) + 1, sizeof(int *), 0); in start_element_handler_ns()
166 attrs[z] = qualified_name_attr; in start_element_handler_ns()
167 attrs[z + 1] = xmlStrndup(attributes[y + 3] , (int) (attributes[y + 4] - attributes[y + 3])); in start_element_handler_ns()
172 attrs[z] = NULL; in start_element_handler_ns()
174 …parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attrs in start_element_handler_ns()
175 if (attrs) { in start_element_handler_ns()
177 xmlFree(attrs[i]); in start_element_handler_ns()
179 efree(attrs); in start_element_handler_ns()
/PHP-8.4/ext/pdo_mysql/tests/
H A Dbug68371.phpt16 $attrs = [
45 foreach ($attrs as $a => $vals) {
/PHP-8.4/ext/pdo_pgsql/tests/
H A Dbug68371.phpt19 $attrs = array(
47 foreach ($attrs as $a => $vals) {

Completed in 37 milliseconds

12