Home
last modified time | relevance | path

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

12

/PHP-8.1/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 Ddom003.phpt19 echo preg_replace('/object\(DOMElement\).+\{.*?\}/s', 'DOMElement', $contents);
56 DOMElement
67 #0 %sdom003.php(%d): DOMNode->appendChild(Object(DOMElement))
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 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 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 ---
H A Dbug80602_3.phpt26 object(DOMElement)#3 (23) {
75 object(DOMElement)#2 (23) {
H A DDOMComment_construct_basic_001.phpt11 $element = $dom->appendChild(new DOMElement('root'));
H A Dgh11290.phpt2 GH-11290 (DOMElement::replaceWith causes crash)
H A Ddomelement.phpt2 Elements: DOMElement functionality
56 $element_ns = new DOMElement('newns:myelement', 'default content', 'urn::dummyns');
58 $element_ns = new DOMElement('newns2:myelement', 'second default content', 'urn::dummyns');
H A Dbug36756.phpt34 Error: Couldn't fetch DOMElement. Node no longer exists
H A Dbug43364.phpt11 if($node instanceof DOMElement) {
/PHP-8.1/ext/spl/tests/
H A Dbug54971.phpt28 [0] => DOMElement
29 [1] => DOMElement
33 [0] => DOMElement
34 [1] => DOMElement
/PHP-8.1/ext/dom/
H A Dphp_dom.stub.php213 public ?DOMElement $firstElementChild;
216 public ?DOMElement $lastElementChild;
258 public ?DOMElement $nextElementSibling;
298 public ?DOMElement $ownerElement;
318 public ?DOMElement $firstElementChild;
321 public ?DOMElement $lastElementChild;
415 public ?DOMElement $documentElement;
459 public ?DOMElement $firstElementChild;
462 public ?DOMElement $lastElementChild;
484 /** @return DOMElement|false */
[all …]
H A Dphp_dom_arginfo.h544 ZEND_METHOD(DOMElement, __construct);
545 ZEND_METHOD(DOMElement, getAttribute);
546 ZEND_METHOD(DOMElement, getAttributeNS);
551 ZEND_METHOD(DOMElement, hasAttribute);
556 ZEND_METHOD(DOMElement, setAttribute);
563 ZEND_METHOD(DOMElement, remove);
564 ZEND_METHOD(DOMElement, before);
565 ZEND_METHOD(DOMElement, after);
566 ZEND_METHOD(DOMElement, replaceWith);
567 ZEND_METHOD(DOMElement, append);
[all …]
H A Delement.c34 PHP_METHOD(DOMElement, __construct) in PHP_METHOD() argument
200 PHP_METHOD(DOMElement, getAttribute) in PHP_METHOD() argument
243 PHP_METHOD(DOMElement, setAttribute) in PHP_METHOD() argument
522 PHP_METHOD(DOMElement, getAttributeNS) in PHP_METHOD() argument
1001 PHP_METHOD(DOMElement, hasAttribute) in PHP_METHOD() argument
1191 PHP_METHOD(DOMElement, remove) in PHP_METHOD() argument
1208 PHP_METHOD(DOMElement, after) in PHP_METHOD() argument
1225 PHP_METHOD(DOMElement, before) in PHP_METHOD() argument
1245 PHP_METHOD(DOMElement, append) in PHP_METHOD() argument
1266 PHP_METHOD(DOMElement, prepend) in PHP_METHOD() argument
[all …]
/PHP-8.1/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

Completed in 36 milliseconds

12