Home
last modified time | relevance | path

Searched refs:DOMElement (Results 1 – 25 of 62) sorted by relevance

123

/php-src/ext/dom/tests/
H A Dbug32615.phpt9 $frag->appendChild(new DOMElement('root'));
13 $frag->appendChild(new DOMElement('first'));
16 $frag->appendChild(new DOMElement('second'));
26 $frag->appendChild(new DOMElement('newsecond'));
32 $frag->appendChild(new DOMElement('third'));
35 $frag->appendChild(new DOMElement('start'));
38 $frag->appendChild(new DOMElement('newthird'));
44 $frag->appendChild(new DOMElement('first'));
55 $frag->appendChild(new DOMElement('first'));
61 $frag->appendChild(new DOMElement('second'));
[all …]
H A DDOMElement_hasAttributes_basic.phpt21 echo "Verify that we have a DOMElement object:\n";
30 echo "\nVerify that we have a DOMElement object:\n";
39 Verify that we have a DOMElement object:
40 DOMElement
45 Verify that we have a DOMElement object:
46 DOMElement
H A Ddom_create_element.phpt117 print "13 DOMElement::__construct('valid')\n";
125 print "14 DOMElement::__construct('-invalid')\n";
133 print "15 DOMElement::__construct(' ')\n";
141 print "16 DOMElement::__construct('prefix:valid')\n";
345 13 DOMElement::__construct('valid')
347 14 DOMElement::__construct('-invalid')
349 15 DOMElement::__construct(' ')
351 16 DOMElement::__construct('prefix:valid')
353 17 DOMElement::__construct('valid', '', 'http://valid.com')
361 21 DOMElement::__construct('prefix:invalid', '', '')
[all …]
H A Dgh16465.phpt8 $v10 = new DOMElement("a");
27 DOMElement::getElementsByTagName(): Argument #1 ($qualifiedName) must not contain any null bytes
28 DOMElement::getElementsByTagNameNS(): Argument #2 ($localName) must not contain any null bytes
29 DOMElement::getElementsByTagNameNS(): Argument #1 ($namespace) must not contain any null bytes
H A Dgh16150.phpt9 $e1 = new DOMElement("E1");
10 $e2 = new DOMElement("E2");
11 $e3 = new DOMElement("E3");
H A Dgh16595.phpt9 $v0 = new DOMElement ( "jg" );
11 $v2 = new DOMElement ( "IU" );
12 $v7 = new DOMElement ( "L" , null , "df" );
H A Ddom003.phpt19 echo preg_replace('/object\(DOMElement\).+\{.*?\}/s', 'DOMElement', $contents);
56 DOMElement
67 #0 %sdom003.php(%d): DOMNode->appendChild(Object(DOMElement))
H A Dgh16149.phpt2 GH-16149 (Null pointer dereference in DOMElement->getAttributeNames())
7 $element = new DOMElement("b", null, "a");
H A Dparentnode_childnode_too_long_text.phpt73 DOMElement::append(): Argument #2 must be less than or equal to 2147483647 bytes long
74 DOMElement::prepend(): Argument #2 must be less than or equal to 2147483647 bytes long
75 DOMElement::after(): Argument #2 must be less than or equal to 2147483647 bytes long
76 DOMElement::before(): Argument #2 must be less than or equal to 2147483647 bytes long
77 DOMElement::replaceWith(): Argument #2 must be less than or equal to 2147483647 bytes long
78 DOMElement::replaceChildren(): Argument #2 must be less than or equal to 2147483647 bytes long
H A DDOMElement_getElementsByTagName_without_document.phpt2 Node list cache should not break on DOMElement::getElementsByTagName() without document
8 $element = new DOMElement("b");
H A DDOMElement_toggleAttribute_without_document.phpt2 DOMElement::toggleAttribute() without a document
8 $element = new DOMElement("container");
H A DDOMNode_cloneNode_basic.phpt76 Course: new title3:DOMElement
84 Course: two:DOMElement
92 Course: new title default:DOMElement
95 Course: new title true:DOMElement
103 Course: new title false:DOMElement
H A Dregister_node_class.phpt11 class myElement extends DOMElement {
17 $doc->registerNodeClass('DOMElement', 'myElement');
18 $doc->appendChild(new DOMElement('root'));
H A Delement_child_and_parent_node_without_document.phpt2 DOMElement: DOMChildNode, DOMParentNode modifications without a document
8 $element = new DOMElement("p", " Hello World! ");
H A DregisterNodeClass_abstract_class.phpt8 abstract class Test extends DOMElement {
15 $dom->registerNodeClass("DOMElement", "Test");
H A DDOMNode_removeChild_basic.phpt65 Course: two:DOMElement
77 Course: one:DOMElement
90 Course: one:DOMElement
98 Course: two:DOMElement
H A Dunsetting_properties.phpt8 class MyElement extends DOMElement {
13 $dom->registerNodeClass('DOMElement', 'MyElement');
H A Dgh16338.phpt12 $elem = new DOMElement("Rj", "o");
14 $elem2 = new DOMElement("kx", null, "r");
H A Dgh16777_2.phpt7 $el = new DOMElement('name');
8 $el->append($child = new DOMElement('child'));
/php-src/ext/spl/tests/
H A Dbug54971.phpt28 [0] => DOMElement
29 [1] => DOMElement
33 [0] => DOMElement
34 [1] => DOMElement
/php-src/ext/dom/tests/gh11830/
H A Dtype_variation.phpt51 DOMElement::prepend(): Argument #2 must be of type DOMNode|string, int given
52 DOMElement::append(): Argument #2 must be of type DOMNode|string, bool given
53 DOMElement::before(): Argument #2 must be of type DOMNode|string, null given
54 DOMElement::after(): Argument #2 must be of type DOMNode|string, stdClass given
55 DOMElement::replaceWith(): Argument #2 must be of type DOMNode|string, array given
/php-src/ext/dom/
H A Dphp_dom.stub.php344 public ?DOMElement $parentElement;
542 public ?DOMElement $parentElement;
569 public ?DOMElement $firstElementChild;
575 public ?DOMElement $lastElementChild;
705 public ?DOMElement $ownerElement;
749 public ?DOMElement $lastElementChild;
849 public function insertAdjacentElement(string $where, DOMElement $element): ?DOMElement {}
872 public ?DOMElement $documentElement;
943 public ?DOMElement $lastElementChild;
968 /** @return DOMElement|false */
[all …]
H A Delement.c40 PHP_METHOD(DOMElement, __construct) in PHP_METHOD() argument
292 PHP_METHOD(DOMElement, getAttribute) in PHP_METHOD() argument
403 PHP_METHOD(DOMElement, setAttribute) in PHP_METHOD() argument
880 PHP_METHOD(DOMElement, getAttributeNS) in PHP_METHOD() argument
1286 PHP_METHOD(DOMElement, hasAttribute) in PHP_METHOD() argument
1454 PHP_METHOD(DOMElement, remove) in PHP_METHOD() argument
1468 PHP_METHOD(DOMElement, after) in PHP_METHOD() argument
1483 PHP_METHOD(DOMElement, before) in PHP_METHOD() argument
1501 PHP_METHOD(DOMElement, append) in PHP_METHOD() argument
1520 PHP_METHOD(DOMElement, prepend) in PHP_METHOD() argument
[all …]
/php-src/ext/dom/tests/delayed_freeing/
H A Dgh9628_2.phpt33 \assert($span instanceof \DOMElement);
38 \assert($span instanceof \DOMElement);
/php-src/ext/dom/tests/compareDocumentPosition/
H A Ddisconnected.phpt37 check(new DOMElement("foo"), new DOMElement("bar"));
41 check(new DOMAttr("foo"), new DOMElement("bar"));

Completed in 38 milliseconds

123