Searched refs:addAttribute (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/simplexml/tests/ |
H A D | bug43221.phpt | 2 Bug #43221 (SimpleXML adding default namespace in addAttribute) 9 $n->addAttribute("a", "b"); 10 $n->addAttribute("c", "d", "http://bar.com"); 11 $n->addAttribute("foo:e", "f", "http://bar.com"); 15 Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.ph…
|
H A D | bug41175.phpt | 2 Bug #41175 (addAttribute() fails to add an attribute with an empty value) 9 $xml->addAttribute("src", "foo"); 10 $xml->addAttribute("alt", "");
|
H A D | bug40451.phpt | 2 Bug #40451 (addAttribute() may crash when used with non-existent child node) 18 $add->Host->addAttribute('enable', 'true'); 22 Warning: SimpleXMLElement::addAttribute(): Unable to locate parent Element in %s on line %d
|
H A D | SimpleXMLElement_addAttribute_basic.phpt | 2 SimpleXMLElement->addAttribute() 8 $simple->addAttribute('type','novels');
|
H A D | 031.phpt | 2 SimpleXML: addChild and addAttribute 19 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v'); 22 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v'); 25 $sxe->addAttribute('att2', 'no-ns'); 47 Warning: SimpleXMLElement::addAttribute(): Attribute already exists in %s031.php on line %d
|
H A D | SimpleXMLElement_addAttribute_required_attribute_name.phpt | 13 $a->addAttribute( "", "" ); 21 SimpleXMLElement::addAttribute(): Argument #1 ($qualifiedName) must not be empty
|
H A D | bug55098.phpt | 27 $n->addAttribute("attr", "value");
|
/php-src/ext/simplexml/ |
H A D | simplexml.stub.php | 47 …public function addAttribute(string $qualifiedName, string $value, ?string $namespace = null): voi… function in SimpleXMLElement
|
H A D | simplexml_arginfo.h | 115 ZEND_METHOD(SimpleXMLElement, addAttribute); 145 …ZEND_ME(SimpleXMLElement, addAttribute, arginfo_class_SimpleXMLElement_addAttribute, ZEND_ACC_PUBL…
|
H A D | simplexml.c | 1720 PHP_METHOD(SimpleXMLElement, addAttribute) in PHP_METHOD() argument
|
/php-src/ext/dom/tests/modern/common/ |
H A D | namespace_sxe_interaction.phpt | 12 $sxe->addAttribute('a:attr', 'value', 'urn:a');
|
Completed in 51 milliseconds