History log of /php-src/ext/tidy/tests/sibling_nodes.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# ad452086 20-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add tidyNode::getNextSibling() and tidyNode::getPreviousSibling()

These get the next and previous sibling nodes, respectively.
We can already kind of do this by using the $child array, b

Add tidyNode::getNextSibling() and tidyNode::getPreviousSibling()

These get the next and previous sibling nodes, respectively.
We can already kind of do this by using the $child array, but that's
inconvenient when actually walking the tree by only using node
instances. Since the class is final, there is no BC break here.

Closes GH-15047.

show more ...