Home
last modified time | relevance | path

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

12

/PHP-8.3/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";
349 13 DOMElement::__construct('valid')
351 14 DOMElement::__construct('-invalid')
353 15 DOMElement::__construct(' ')
355 16 DOMElement::__construct('prefix:valid')
357 17 DOMElement::__construct('valid', '', 'http://valid.com')
365 21 DOMElement::__construct('prefix:invalid', '', '')
[all …]
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 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 Dregsiter_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 Dgh14702.phpt48 object(DOMElement)#4 (1) {
52 object(DOMElement)#5 (1) {
56 object(DOMElement)#3 (1) {
H A Dbug37456.phpt2 Bug #37456 (DOMElement->setAttribute() loops forever)
H A Dbug73907.phpt18 object(DOMElement)#%d (%d) {%A
H A Dbug66502.phpt8 $element = $dom->appendChild(new DOMElement('root'));
H A DDOM4_ParentNode_append_invalidtypes.phpt19 OK! DOMElement::append(): Argument #1 must be of type DOMNode|string, array given
H A Dbug81433.phpt2 Bug #81433 (DOMElement::setIdAttribute(attr, true) called twice removes ID)
H A DDOMParentNode_empty_argument.phpt12 echo "--- DOMElement test ---\n";
67 --- DOMElement test ---
/PHP-8.3/ext/spl/tests/
H A Dbug54971.phpt28 [0] => DOMElement
29 [1] => DOMElement
33 [0] => DOMElement
34 [1] => DOMElement
/PHP-8.3/ext/dom/
H A Dphp_dom.stub.php311 public ?DOMElement $parentElement;
442 public ?DOMElement $parentElement;
469 public ?DOMElement $firstElementChild;
472 public ?DOMElement $lastElementChild;
557 public ?DOMElement $ownerElement;
584 public ?DOMElement $lastElementChild;
675 public function insertAdjacentElement(string $where, DOMElement $element): ?DOMElement {}
689 public ?DOMElement $documentElement;
736 public ?DOMElement $lastElementChild;
758 /** @return DOMElement|false */
[all …]
H A Dphp_dom_arginfo.h589 ZEND_METHOD(DOMElement, __construct);
590 ZEND_METHOD(DOMElement, getAttribute);
592 ZEND_METHOD(DOMElement, getAttributeNS);
597 ZEND_METHOD(DOMElement, hasAttribute);
602 ZEND_METHOD(DOMElement, setAttribute);
610 ZEND_METHOD(DOMElement, remove);
611 ZEND_METHOD(DOMElement, before);
612 ZEND_METHOD(DOMElement, after);
613 ZEND_METHOD(DOMElement, replaceWith);
614 ZEND_METHOD(DOMElement, append);
[all …]
H A Delement.c34 PHP_METHOD(DOMElement, __construct) in PHP_METHOD() argument
274 PHP_METHOD(DOMElement, getAttribute) in PHP_METHOD() argument
365 PHP_METHOD(DOMElement, setAttribute) in PHP_METHOD() argument
714 PHP_METHOD(DOMElement, getAttributeNS) in PHP_METHOD() argument
1123 PHP_METHOD(DOMElement, hasAttribute) in PHP_METHOD() argument
1297 PHP_METHOD(DOMElement, remove) in PHP_METHOD() argument
1311 PHP_METHOD(DOMElement, after) in PHP_METHOD() argument
1326 PHP_METHOD(DOMElement, before) in PHP_METHOD() argument
1344 PHP_METHOD(DOMElement, append) in PHP_METHOD() argument
1363 PHP_METHOD(DOMElement, prepend) in PHP_METHOD() argument
[all …]
/PHP-8.3/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-8.3/ext/dom/tests/delayed_freeing/
H A Dgh9628_2.phpt33 \assert($span instanceof \DOMElement);
38 \assert($span instanceof \DOMElement);
H A Ddirect_construction.phpt59 echo "-- Test DOMElement --\n";
60 $test = new DOMElement("qualifiedName", "test");
117 -- Test DOMElement --

Completed in 46 milliseconds

12