Home
last modified time | relevance | path

Searched refs:attr2 (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/simplexml/tests/
H A D024.phpt27 test('elem/@attr2');
28 test('//@attr2');
34 ===elem/@attr2===
40 ["attr2"]=>
48 ["attr2"]=>
56 ["attr2"]=>
61 ===//@attr2===
67 ["attr2"]=>
75 ["attr2"]=>
83 ["attr2"]=>
[all …]
H A D000.phpt59 ["attr2"]=>
83 ["attr2"]=>
118 ["attr2"]=>
193 ["attr2"]=>
H A D009b.phpt15 <elem11 attr2='second'>Bla bla 2.</elem11>
H A D009.phpt25 <elem11 attr2='second'>
H A D006.phpt26 <elem11 attr2='second'>
H A Dsxe_002.phpt27 <elem11 attr2='second'>
H A D019.phpt26 <elem11 attr2='second'>
H A Dsxe_003.phpt27 <elem11 attr2='second'>
H A Dsxe_004.phpt27 <elem11 attr2='second'>
/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttributeNode_adoption.phpt27 $attr2 = $dom2->createAttributeNS("urn:a", "a:my-attribute");
28 $attr2->value = "2";
29 $dom1->documentElement->setAttributeNode($attr2);
36 var_dump($attr2->prefix, $attr2->namespaceURI, $attr2->localName);
/php-src/ext/dom/tests/
H A Dbug80332_1.phpt10 $doc->loadHTML('<span attr1="value1" attr2="value2"></span>');
34 test($span, 'attr2');
54 Attribute [true] name: attr2
62 Attribute ['attr2'] name: attr2
63 Attribute ['attr2'] value: value2
64 Attribute ['attr2'] isset: yes
78 Attribute ['1'] name: attr2
H A Dbug80332_2.phpt31 test($list, 'attr2');
45 list['attr2'] id attribute: /
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dattribute_order_different_element.phpt21 foreach ($attrs2 as $attr2) {
22 echo "--- Compare 1->2 {$attr1->name} and {$attr2->name} ---\n";
23 var_dump($attr1->compareDocumentPosition($attr2) === DOMNode::DOCUMENT_POSITION_FOLLOWING);
24 echo "--- Compare 2->1 {$attr1->name} and {$attr2->name} ---\n";
25 var_dump($attr2->compareDocumentPosition($attr1) === DOMNode::DOCUMENT_POSITION_PRECEDING);
/php-src/ext/xmlwriter/tests/
H A DOO_003.phpt17 $res = $xw->startAttribute('attr2');
34 <tag1 attr1="attr1_value" attr2="attr2_value">Test text for tag1<tag2/></tag1>
H A DOO_008.phpt19 $xw->text('attr2 CDATA #implied');
32 attr2 CDATA #implied>
H A D008.phpt22 xmlwriter_text($xw, 'attr2 CDATA #implied');
37 attr2 CDATA #implied>
/php-src/ext/dom/
H A Dnode.c2402 xmlNodePtr attr2 = NULL; in dom_node_compare_document_position() local
2413 attr2 = node2; in dom_node_compare_document_position()
2414 node2 = attr2->parent; in dom_node_compare_document_position()
2421 } else if (php_dom_is_equal_attr(attr, (const xmlAttr *) attr2)) { in dom_node_compare_document_position()
2460 if ((node1_is_ancestor_of_node2 && attr1 == NULL) || (node1 == node2 && attr2 != NULL)) { in dom_node_compare_document_position()
2465 if ((node2_is_ancestor_of_node1 && attr2 == NULL) || (node1 == node2 && attr1 != NULL)) { in dom_node_compare_document_position()
2478 ZEND_ASSERT(attr2 != NULL); /* Would've been handled in step 8 otherwise */ in dom_node_compare_document_position()

Completed in 28 milliseconds