Home
last modified time | relevance | path

Searched refs:addAttribute (Results 1 – 8 of 8) sorted by relevance

/PHP-5.4/ext/simplexml/tests/
H A Dbug43221.phpt2 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");
16 Warning: SimpleXMLElement::addAttribute(): Attribute requires prefix for namespace in %sbug43221.ph…
H A Dbug41175.phpt2 Bug #41175 (addAttribute() fails to add an attribute with an empty value)
9 $xml->addAttribute("src", "foo");
10 $xml->addAttribute("alt", "");
H A Dbug40451.phpt2 Bug #40451 (addAttribute() may crash when used with non-existent child node)
18 $add->Host->addAttribute('enable', 'true');
23 Warning: SimpleXMLElement::addAttribute(): Unable to locate parent Element in %s on line %d
H A DSimpleXMLElement_addAttribute_basic.phpt2 SimpleXMLElement->addAttribute()
8 $simple->addAttribute('type','novels');
H A D031.phpt2 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');
48 Warning: SimpleXMLElement::addAttribute(): Attribute already exists in %s031.php on line %d
H A DSimpleXMLElement_addAttribute_required_attribute_name.phpt11 $a->addAttribute( "", "" );
15 Warning: SimpleXMLElement::addAttribute(): Attribute name is required in %s on line %d
/PHP-5.4/ext/simplexml/
H A Dsimplexml.c1698 SXE_METHOD(addAttribute) in SXE_METHOD() argument
2619 SXE_ME(addAttribute, arginfo_simplexmlelement_addchild, ZEND_ACC_PUBLIC)
/PHP-5.4/
H A DNEWS5822 - Fixed bug #43221 (SimpleXML adding default namespace in addAttribute). (Rob)
6391 - Fixed bug #41175 (addAttribute() fails to add an attribute with an empty
6496 - Fixed bug #40451 (addAttribute() may crash when used with non-existent child
7429 . Added addAttribute() method for attribute creation supporting namespaces.

Completed in 46 milliseconds