Searched refs:addChild (Results 1 – 11 of 11) sorted by relevance
/PHP-8.2/ext/simplexml/tests/ |
H A D | 031.phpt | 2 SimpleXML: addChild and addAttribute 29 $d->addChild('m:test', 'myval', 'urn::test'); 33 $sxe->addChild('m:test1', 'myval', 'urn::test'); 36 $n = $sxe->addChild('m:test2', 'myval', 'urn::testnew'); 38 $sxe->addChild('test3', 'myval', 'urn::testnew'); 39 $sxe->addChild('test4', 'myval'); 42 $sxe->addChild('s:test5', 'myval'); 49 Warning: SimpleXMLElement::addChild(): Cannot add element to attributes in %s031.php on line %d
|
H A D | bug41947.phpt | 2 Bug #41947 (addChild incorrectly registers empty strings as namespaces) 8 $grandchild = $xml->addChild('child', null, 'http://myns')->addChild('grandchild', 'hello', '');
|
H A D | bug76712.phpt | 8 $sxe->addChild('bar', ''); 12 $sxe->addChild('bar');
|
H A D | bug63575.phpt | 13 $r->addChild('c', new SimpleXMlElement('<c></c>'));
|
H A D | bug40451.phpt | 17 $add = $xml->addChild('Host');
|
H A D | bug44478.phpt | 12 $xml_element->addChild('node2','a & b');
|
H A D | bug43221.phpt | 8 $n = $xml->addChild("node", "value");
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug65328.phpt | 145 public function addChild(Node $child) 267 $tree->getHead()->addChild($node1); 269 $node1->addChild($node2);
|
/PHP-8.2/ext/simplexml/ |
H A D | simplexml.stub.php | 44 …public function addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null):… function in SimpleXMLElement
|
H A D | simplexml_arginfo.h | 115 ZEND_METHOD(SimpleXMLElement, addChild); 147 ZEND_ME(SimpleXMLElement, addChild, arginfo_class_SimpleXMLElement_addChild, ZEND_ACC_PUBLIC)
|
H A D | simplexml.c | 1697 PHP_METHOD(SimpleXMLElement, addChild) in PHP_METHOD() argument
|
Completed in 24 milliseconds