/PHP-8.4/ext/dom/tests/compareDocumentPosition/ |
H A D | disconnected.phpt | 10 …DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOMNode::DOCUMENT_POSITION_DISCONNECTED)) ===… 12 …DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOMNode::DOCUMENT_POSITION_DISCONNECTED)) ===… 16 if ($element1->compareDocumentPosition($element2) & DOMNode::DOCUMENT_POSITION_FOLLOWING) { 17 …mp(($element2->compareDocumentPosition($element1) & DOMNode::DOCUMENT_POSITION_PRECEDING) === DOMN… 19 …mp(($element2->compareDocumentPosition($element1) & DOMNode::DOCUMENT_POSITION_FOLLOWING) === DOMN…
|
H A D | element_order_same_depth.phpt | 33 var_dump($foo->previousElementSibling->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION… 34 var_dump($foo->compareDocumentPosition($foo->previousElementSibling) === DOMNode::DOCUMENT_POSITION… 37 var_dump($bar->nextElementSibling->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_PRE… 38 var_dump($bar->compareDocumentPosition($bar->nextElementSibling) === DOMNode::DOCUMENT_POSITION_FOL… 41 …ousElementSibling->compareDocumentPosition($bar->nextElementSibling) === DOMNode::DOCUMENT_POSITIO… 42 …lementSibling->compareDocumentPosition($foo->previousElementSibling) === DOMNode::DOCUMENT_POSITIO… 46 var_dump($foo->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_FOLLOWING); 47 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
|
H A D | contains_attribute_direct_descendent.phpt | 17 …$container->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod… 18 …$attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
|
H A D | contains_element_direct_descendent.phpt | 19 …_dump($container->compareDocumentPosition($div) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod… 20 …_dump($div->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
|
H A D | contains_attribute_freestanding.phpt | 15 …_dump($foo->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod… 16 …_dump($attribute->compareDocumentPosition($foo) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
|
H A D | entity.phpt | 25 var_dump($entities[0]->compareDocumentPosition($entities[1]) === DOMNode::DOCUMENT_POSITION_FOLLOWI… 26 var_dump($entities[1]->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_PRECEDI… 33 var_dump($entities[0]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F… 34 var_dump($entities[1]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F… 38 var_dump($child->firstChild->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_P… 39 var_dump($child->firstChild->compareDocumentPosition($entities[1]) === DOMNode::DOCUMENT_POSITION_P…
|
H A D | contains_attribute_longer_descendent.phpt | 22 …$container->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod… 23 …$attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
|
H A D | attribute_child_order.phpt | 32 var_dump($outer->attributes[0]->compareDocumentPosition($before) === DOMNode::DOCUMENT_POSITION_PRE… 33 var_dump($before->compareDocumentPosition($outer->attributes[0]) === DOMNode::DOCUMENT_POSITION_FOL… 36 var_dump($outer->attributes[0]->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_FOLLOW… 37 var_dump($foo->compareDocumentPosition($outer->attributes[0]) === DOMNode::DOCUMENT_POSITION_PRECED… 40 var_dump($outer->attributes[0]->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_FOLLOW… 41 var_dump($bar->compareDocumentPosition($outer->attributes[0]) === DOMNode::DOCUMENT_POSITION_PRECED…
|
H A D | attribute_order_same_element.phpt | 19 …$expected = DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECI… 21 …$expected = DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECI…
|
H A D | contains_element_longer_descendent.phpt | 27 …p($container->compareDocumentPosition($element) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod… 28 …p($element->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
|
H A D | element_order_different_depth.phpt | 30 var_dump($foo->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_FOLLOWING); 31 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING); 37 var_dump(boolval($foo->compareDocumentPosition($bar) & DOMNode::DOCUMENT_POSITION_CONTAINED_BY)); 38 var_dump(boolval($bar->compareDocumentPosition($foo) & DOMNode::DOCUMENT_POSITION_CONTAINS));
|
H A D | element_order_direct_root_children.phpt | 12 var_dump($foo->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_FOLLOWING); 13 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
|
/PHP-8.4/ext/dom/ |
H A D | php_dom.stub.php | 310 class DOMNode class 338 public ?DOMNode $parentNode; 356 public ?DOMNode $firstChild; 362 public ?DOMNode $lastChild; 418 /** @return DOMNode|false */ 427 /** @return DOMNode|false */ 442 /** @return DOMNode|false */ 443 public function insertBefore(DOMNode $node, ?DOMNode $child = null) {} 469 public function replaceChild(DOMNode $node, DOMNode $child) {} 684 class DOMAttr extends DOMNode [all …]
|
/PHP-8.4/ext/dom/tests/delayed_freeing/ |
H A D | without_contructor.phpt | 7 $rc = new ReflectionClass('DOMNode'); 34 object(DOMNode)#2 (0) { 37 Couldn't fetch DOMNode 38 Couldn't fetch DOMNode
|
/PHP-8.4/ext/dom/tests/gh11830/ |
H A D | type_variation.phpt | 51 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.4/ext/dom/tests/ |
H A D | DOMNode_C14N_basic.phpt | 2 DOMNode::C14N() 39 DOMNode::C14N(): Argument #3 ($xpath) must have a "query" key 40 DOMNode::C14N(): Argument #3 ($xpath) "query" option must be a string, array given
|
H A D | bug74416.phpt | 2 Bug #74416 Wrong reflection on DOMNode::cloneNode 7 $rm = new ReflectionMethod(DOMNode::class, "cloneNode");
|
H A D | DOMNode_C14NFile_basic.phpt | 2 DOMNode::C14NFile() 47 DOMNode::C14NFile(): Argument #4 ($xpath) must have a "query" key 48 DOMNode::C14NFile(): Argument #4 ($xpath) "query" option must be a string, array given
|
H A D | gh11682.phpt | 2 Fix GH-11682 (Consecutive calls to DOMNode::before and DOMNode::remove unlink wrong nodes)
|
H A D | not_unserializable.phpt | 11 "DOMNode", 28 Unserialization of 'DOMNode' is not allowed, unless unserialization methods are implemented in a su…
|
H A D | DOMNode_insertBefore_error6.phpt | 2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised 4 DOMNode::insertBefore(newNode, [refNode])
|
H A D | DOMNode_insertBefore_error2.phpt | 2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised 4 DOMNode::insertBefore(newNode, [refNode])
|
H A D | DOMNode_insertBefore_error3.phpt | 2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised 4 DOMNode::insertBefore(newNode, [refNode])
|
H A D | DOMNode_insertBefore_error4.phpt | 2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised 4 DOMNode::insertBefore(newNode, [refNode])
|
/PHP-8.4/ext/xsl/tests/ |
H A D | xslt_non_dom_node.phpt | 2 php:function Support - non-DOMNode 31 Only objects that are instances of DOMNode can be converted to an XPath expression
|