Home
last modified time | relevance | path

Searched refs:createAttribute (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.4/ext/dom/tests/modern/spec/
H A DDocument_createAttribute.phpt2 Document::createAttribute()
12 $attr = $dom->createAttribute('foo');
14 $attr = $dom->createAttribute('FoOo');
20 $attr = $dom->createAttribute('foo');
22 $attr = $dom->createAttribute('FoOo');
H A DElement_setAttributeNode.phpt13 $attribute1 = $dom1->createAttribute("my-attribute");
17 $attribute2 = $dom1->createAttribute("my-attribute");
H A DElement_removeAttribute_edge_cases.phpt10 $dom->documentElement->removeAttributeNode($dom->createAttribute('test'));
H A DNode_appendChild_attribute.phpt11 $attr = $dom->createAttribute('bar');
H A DElement_setAttributeNode_inuse.phpt10 $attr1 = $dom1->createAttribute("my-attribute");
H A DNode_appendChild_invalid_parent.phpt13 $attr = $dom->createAttribute('Hello');
H A DElement_setAttributeNode_adoption.phpt14 $attr = $dom2->createAttribute("my-attribute");
H A DElement_getAttribute.phpt17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_getAttributeNode.phpt17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_hasAttribute.phpt17 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_getAttributeNS.phpt29 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_getAttributeNodeNS.phpt31 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_hasAttributeNS.phpt29 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
H A DElement_removeAttribute.phpt18 $body->setAttributeNode($attr = $dom->createAttribute("prefix:local"));
/PHP-8.4/ext/dom/tests/
H A DDOMDocument_createAttribute_basic.phpt2 DomDocument::createAttribute() - basic test for DomDocument::createAttribute()
17 $test_attribute = $doc->createAttribute("hahaha");
H A DDOMDocument_createAttribute_error1.phpt2 DomDocument::createAttribute() - error test for DomDocument::createAttribute()
17 $failed_test_attribute = $doc->createAttribute("ha haha");
H A DDOMDocument_createAttribute_variation.phpt2 Test DOMDocument::createAttribute() for expected return value
9 $attr = $dom->createAttribute('string');
H A DDOMDocument_createAttribute_error.phpt2 Test DOMDocument::createAttribute() for expected exception thrown when wrong parameter passed
10 $attr = $dom->createAttribute(0);
H A DDOM4_ParentNode_append_with_attributes.phpt12 $replacement = $dom->createAttribute('attr-one');
14 $addition = $dom->createAttribute('attr-two');
H A DDOMDocument_strictErrorChecking_variation.phpt21 $attr = $doc->createAttribute(0);
38 $attr = $doc->createAttribute(0);
59 Warning: DOMDocument::createAttribute(): Invalid Character Error in %s on line %d
H A Dgh16533.phpt10 $doc->appendChild($doc->createAttribute('foo'));
H A Dgh16593.phpt12 $root->replaceChild($doc->createAttribute('foo'), $child);
H A DreplaceChild_attribute_validation.phpt9 $attr = $dom->createAttribute('attr');
/PHP-8.4/ext/dom/tests/bug79701/
H A Dnode.phpt10 $attr = $dom->createAttribute('id');
/PHP-8.4/ext/dom/tests/delayed_freeing/
H A Dnamespace_definition_crash_in_attribute.phpt12 $child_attr2 = $child->appendChild($doc->createAttribute('hello2'));

Completed in 64 milliseconds

12