Home
last modified time | relevance | path

Searched refs:addChild (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/simplexml/tests/
H A D031.phpt2 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 Dbug41947.phpt2 Bug #41947 (addChild incorrectly registers empty strings as namespaces)
8 $grandchild = $xml->addChild('child', null, 'http://myns')->addChild('grandchild', 'hello', '');
H A Dbug76712.phpt8 $sxe->addChild('bar', '');
12 $sxe->addChild('bar');
H A Dbug63575.phpt13 $r->addChild('c', new SimpleXMlElement('<c></c>'));
H A Dbug40451.phpt17 $add = $xml->addChild('Host');
H A Dbug44478.phpt12 $xml_element->addChild('node2','a &#38; b');
H A Dbug43221.phpt8 $n = $xml->addChild("node", "value");
/PHP-8.1/ext/spl/tests/
H A Dbug65328.phpt145 public function addChild(Node $child)
267 $tree->getHead()->addChild($node1);
269 $node1->addChild($node2);
/PHP-8.1/ext/simplexml/
H A Dsimplexml.stub.php44 …public function addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null):… function in SimpleXMLElement
H A Dsimplexml_arginfo.h115 ZEND_METHOD(SimpleXMLElement, addChild);
147 ZEND_ME(SimpleXMLElement, addChild, arginfo_class_SimpleXMLElement_addChild, ZEND_ACC_PUBLIC)
H A Dsimplexml.c1665 PHP_METHOD(SimpleXMLElement, addChild) in PHP_METHOD() argument

Completed in 19 milliseconds