/PHP-8.3/ext/dom/tests/ |
H A D | dom_create_element.phpt | 47 $dom->createElementNS('http://valid.com', 'valid'); 56 $dom->createElementNS('http://valid.com', 'prefix:valid'); 65 $dom->createElementNS('http://valid.com', '-invalid'); 83 $dom->createElementNS('', 'prefix:invalid'); 101 $dom->createElementNS('http://valid.com', '-prefix:valid'); 110 $dom->createElementNS('-', 'prefix:valid'); 218 $dom->createElementNS('', 'prefix:valid'); 329 5 DOMDocument::createElementNS('http://valid.com', 'valid') 337 9 DOMDocument::createElementNS('', 'prefix:invalid') 343 12 DOMDocument::createElementNS('-', 'prefix:valid') [all …]
|
H A D | gh11500.phpt | 2 GH-11500 (Namespace reuse in createElementNS() generates wrong output) 9 $root = $dom->createElementNS($root_ns, 'root'); 12 $a1 = $dom->createElementNS('http://example.com', 'a1'); 13 $b1 = $a1->appendChild($dom->createElementNS('http://example.com', 'b1')); 16 $a2 = $dom->createElementNS('http://example.com', 'a2'); 17 $b2 = $a2->appendChild($dom->createElementNS('http://example.com', 'b2')); 31 $root = $dom->createElementNS($root_ns, 'root'); 34 $a1 = $dom->createElementNS('http://example.com', 'a1'); 35 $b1 = $a1->appendChild($dom->createElementNS('http://example.com', 'b1')); 39 $a2 = $dom->createElementNS('http://example.com', 'a2'); [all …]
|
H A D | reconcile_reused_namespace.phpt | 9 $root = $dom->createElementNS('http://www.w3.org/2000/xhtml', 'html'); 22 $element = $dom->createElementNS('http://example.com/B', 'p', 'Hello World'); 26 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World'); 30 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World');
|
H A D | DOM4_DOMNode_after_ns.phpt | 12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
|
H A D | DOM4_DOMNode_before_ns.phpt | 12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house'); 19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
|
H A D | domxpath.phpt | 46 $root->appendChild($dom->createElementNS("urn::default", "testnode", 3)); 47 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4)); 48 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4)); 49 $root->appendChild($dom->createElementNS("urn::default", "testnode", 5));
|
H A D | DOM4_DOMNode_append_ns.phpt | 12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
|
H A D | DOM4_DOMNode_prepend_ns.phpt | 12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element'); 16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
|
H A D | gh14702.phpt | 18 $xi = $doc->createElementNS('http://www.w3.org/2001/XInclude', 'xi:include'); 21 $fallback = $doc->createElementNS('http://www.w3.org/2001/XInclude', 'xi:fallback');
|
H A D | bug47849.phpt | 9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root'));
|
H A D | bug49463.phpt | 9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF');
|
H A D | bug47848.phpt | 9 $aDOM->appendChild($aDOM->createElementNS('http://friend2friend.net/','f2f:a'));
|
H A D | bug80927.phpt | 49 $foobar = $dom->documentElement->appendChild($dom->createElementNS('some:ns', 'foo:bar')); 50 $foobar2 = $foobar->appendChild($dom->createElementNS('some:ns', 'foo:bar2'));
|
H A D | bug67440.phpt | 13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1')); 15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2')); 44 …$fragment->childNodes[1]->appendChild($document->createElementNS('http://example/ns2', 'myns2:chil…
|
H A D | bug47530.phpt | 22 $frag->appendChild($doc->createElementNS('https://php.net/bar', 'bar')); 23 $frag->appendChild($doc->createElementNS('', 'bar'));
|
H A D | DOMElement_insertAdjacentElement.phpt | 69 $dom->documentElement->insertAdjacentElement("afterbegin", $dom->createElementNS("some:ns", "bar"));
|
/PHP-8.3/ext/dom/tests/delayed_freeing/ |
H A D | namespace_definition_crash.phpt | 9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child')); 10 $child_child = $child->appendChild($doc->createElementNS('some:ns', 'x'));
|
H A D | namespace_definition_crash_in_attribute.phpt | 9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child')); 14 $attr3 = $child->appendChild($doc->createElementNS('some:ns', 'childcontainer'))
|
H A D | processing_instruction.phpt | 8 $pi = $doc->appendChild($doc->createElementNS('some:ns', 'container'))
|
H A D | namespace_xmlns_declaration.phpt | 9 $doc->documentElement->appendChild($el = $doc->createElementNS('http://php.net', 'example'));
|
H A D | document_fragment.phpt | 9 $frag->appendChild($doc->createElementNS('some:ns', 'child', 'text content'));
|
H A D | namespace_xmlns_declaration_attribute_variation.phpt | 9 $doc->documentElement->appendChild($doc->createElementNS('http://php.net', 'example'));
|
H A D | entity_reference.phpt | 8 $entityRef = $doc->appendChild($doc->createElementNS('some:ns', 'container'))
|
/PHP-8.3/ext/dom/ |
H A D | php_dom.stub.php | 762 … public function createElementNS(?string $namespace, string $qualifiedName, string $value = "") {} function in DOMDocument
|
H A D | php_dom_arginfo.h | 626 ZEND_METHOD(DOMDocument, createElementNS); 862 ZEND_ME(DOMDocument, createElementNS, arginfo_class_DOMDocument_createElementNS, ZEND_ACC_PUBLIC)
|