Home
last modified time | relevance | path

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

/php-src/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");
H A Dbug55098.phpt29 $n->addChild("child", "value");
/php-src/ext/spl/tests/
H A Dbug65328.phpt145 public function addChild(Node $child)
267 $tree->getHead()->addChild($node1);
269 $node1->addChild($node2);
/php-src/ext/dom/tests/modern/common/
H A Dnamespace_sxe_interaction.phpt13 $sxe->addChild('b:child', 'value', 'urn:b');
14 $sxe->addChild('foo', 'value2');
/php-src/ext/dom/tests/modern/xml/
H A Dsimplexml_interop.phpt18 $sxe->addChild('name', 'value');
/php-src/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.h114 ZEND_METHOD(SimpleXMLElement, addChild);
144 ZEND_ME(SimpleXMLElement, addChild, arginfo_class_SimpleXMLElement_addChild, ZEND_ACC_PUBLIC)
H A Dsimplexml.c1654 PHP_METHOD(SimpleXMLElement, addChild) in PHP_METHOD() argument

Completed in 18 milliseconds