Lines Matching refs:contains
2 DOMNode::contains()
33 var_dump($dom->documentElement->contains(null));
36 var_dump($dom->contains(new stdClass));
42 var_dump($dom->documentElement->contains($head));
43 var_dump($dom->documentElement->contains($main));
44 var_dump($dom->contains($dom));
45 var_dump($main->contains($main));
46 var_dump($div->contains($div));
47 var_dump($main->contains($div));
48 var_dump($main->contains($main->firstElementChild));
49 var_dump($main->contains($div->firstElementChild));
50 var_dump($div->contains($div->firstElementChild));
51 var_dump($main->contains($main->firstElementChild->firstChild));
52 var_dump($dom->contains($dom->doctype));
53 var_dump($dom->contains($dom->doctype));
54 var_dump($dom->contains($dom->documentElement->getAttributeNode('xmlns:test')));
55 var_dump($dom->contains($main->lastChild));
58 var_dump($main->firstElementChild->contains($main));
59 var_dump($main->contains($head));
60 var_dump($div->contains($main));
61 var_dump($main->contains($head->firstElementChild));
62 var_dump($div->contains($main->firstElementChild));
63 var_dump($div->contains($main->firstElementChild->nextElementSibling));
64 var_dump($div->contains($main->lastChild));
69 var_dump($dom->documentElement->contains($newElement));
74 var_dump($main->contains($main));
75 var_dump($dom->contains($main));
81 DOMNode::contains(): Argument #1 ($other) must be of type DOMNode|DOMNameSpaceNode|null, stdClass g…