/PHP-8.4/ext/dom/tests/modern/spec/ |
H A D | Document_createAttributeNS.phpt | 20 $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 D | Element_setAttribute_without_namespace.phpt | 13 $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 D | Element_setAttribute_with_namespace.phpt | 13 $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 D | attribute_order_same_element.phpt | 14 $attrs = $dom->documentElement->attributes; 23 var_dump($attrs[$i]->compareDocumentPosition($attrs[$j % 3]) === $expected);
|
/PHP-8.4/ext/ldap/tests/ |
H A D | ldap_mod_ext.phpt | 29 … ['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 D | ldap_rename_ext.phpt | 24 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]], 25 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]]
|
H A D | ldap_delete_ext.phpt | 29 … [['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['dc', 'o']]]]
|
/PHP-8.4/ext/xml/tests/ |
H A D | gh12254.phpt | 9 xml_set_element_handler($parser, function ($parser, $name, $attrs) { 11 var_dump($name, $attrs);
|
H A D | gh15868.phpt | 9 function ($parser, $name, $attrs) { 22 function ($parser, $name, $attrs) {
|
H A D | gh17187_2.phpt | 16 xml_set_element_handler($this->parser, function ($parser, $name, $attrs) { 18 var_dump($name, $attrs);
|
H A D | gh17187_1.phpt | 16 xml_set_element_handler($this->parser, function ($parser, $name, $attrs) { 18 var_dump($name, $attrs);
|
H A D | bug32001b.phpt | 33 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 D | tokenizer.c | 98 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 D | tokenizer.h | 42 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 D | tree.c | 546 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 D | attr.c | 61 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 D | document.c | 106 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 D | document_type.c | 57 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 D | document_type.h | 52 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 D | bug_44159.phpt | 19 $attrs = array(PDO::ATTR_STATEMENT_CLASS, PDO::ATTR_STRINGIFY_FETCHES); 21 foreach ($attrs as $attr) {
|
/PHP-8.4/ext/dom/tests/ |
H A D | toString_exceptions.phpt | 26 $attrs = $node->attributes; 27 $attr = $attrs[0];
|
H A D | bug67081.phpt | 38 <!ENTITY % attrs "%coreattrs;">
|
/PHP-8.4/ext/xml/ |
H A D | compat.c | 78 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 D | bug68371.phpt | 16 $attrs = [ 45 foreach ($attrs as $a => $vals) {
|
/PHP-8.4/ext/pdo_pgsql/tests/ |
H A D | bug68371.phpt | 19 $attrs = array( 47 foreach ($attrs as $a => $vals) {
|