Home
last modified time | relevance | path

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

/PHP-8.0/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.phpt10 $sxe->addChild('bar', '');
14 $sxe->addChild('bar');
H A Dbug40451.phpt17 $add = $xml->addChild('Host');
H A Dbug63575.phpt15 $r->addChild('c', new SimpleXMlElement('<c></c>'));
H A Dbug44478.phpt12 $xml_element->addChild('node2','a &#38; b');
H A Dbug43221.phpt8 $n = $xml->addChild("node", "value");
/PHP-8.0/ext/spl/tests/
H A Dbug65328.phpt148 public function addChild(Node $child)
291 $tree->getHead()->addChild($node1);
293 $node1->addChild($node2);
/PHP-8.0/ext/simplexml/
H A Dsimplexml.stub.php43 …public function addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null) … function in SimpleXMLElement
H A Dsimplexml_arginfo.h110 ZEND_METHOD(SimpleXMLElement, addChild);
142 ZEND_ME(SimpleXMLElement, addChild, arginfo_class_SimpleXMLElement_addChild, ZEND_ACC_PUBLIC)
H A Dsimplexml.c1672 SXE_METHOD(addChild) in SXE_METHOD() argument

Completed in 21 milliseconds