Home
last modified time | relevance | path

Searched refs:DOMNode (Results 1 – 25 of 78) sorted by relevance

1234

/php-src/ext/dom/tests/compareDocumentPosition/
H A Ddisconnected.phpt10DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOMNode::DOCUMENT_POSITION_DISCONNECTED)) ===…
12DOMNode::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 Delement_order_same_depth.phpt33 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 Dcontains_element_direct_descendent.phpt19 …_dump($container->compareDocumentPosition($div) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod…
20 …_dump($div->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
H A Dcontains_attribute_direct_descendent.phpt17 …$container->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod…
18 …$attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
H A Dcontains_attribute_freestanding.phpt15 …_dump($foo->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod…
16 …_dump($attribute->compareDocumentPosition($foo) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
H A Dentity.phpt25 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 Dcontains_attribute_longer_descendent.phpt22 …$container->compareDocumentPosition($attribute) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod…
23 …$attribute->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
H A Dattribute_child_order.phpt32 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 Dattribute_order_same_element.phpt19 …$expected = DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECI…
21 …$expected = DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECI…
H A Dcontains_element_longer_descendent.phpt27 …p($container->compareDocumentPosition($element) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMNod…
28 …p($element->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMNod…
H A Delement_order_different_depth.phpt30 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 Delement_order_direct_root_children.phpt12 var_dump($foo->compareDocumentPosition($bar) === DOMNode::DOCUMENT_POSITION_FOLLOWING);
13 var_dump($bar->compareDocumentPosition($foo) === DOMNode::DOCUMENT_POSITION_PRECEDING);
/php-src/ext/dom/
H A Dphp_dom.stub.php310 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-src/ext/dom/tests/delayed_freeing/
H A Dwithout_contructor.phpt7 $rc = new ReflectionClass('DOMNode');
34 object(DOMNode)#2 (0) {
37 Couldn't fetch DOMNode
38 Couldn't fetch DOMNode
/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/tests/
H A DDOMNode_C14N_basic.phpt2 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 Dbug74416.phpt2 Bug #74416 Wrong reflection on DOMNode::cloneNode
7 $rm = new ReflectionMethod(DOMNode::class, "cloneNode");
H A DDOMNode_C14NFile_basic.phpt2 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 Dgh11682.phpt2 Fix GH-11682 (Consecutive calls to DOMNode::before and DOMNode::remove unlink wrong nodes)
H A Dnot_unserializable.phpt11 "DOMNode",
28 Unserialization of 'DOMNode' is not allowed, unless unserialization methods are implemented in a su…
H A DDOMNode_insertBefore_error6.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
H A DDOMNode_insertBefore_error4.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
H A DDOMNode_insertBefore_error2.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
H A DDOMNode_insertBefore_error3.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
/php-src/ext/xsl/tests/
H A Dxslt_non_dom_node.phpt2 php:function Support - non-DOMNode
31 Only objects that are instances of DOMNode can be converted to an XPath expression

Completed in 23 milliseconds

1234