--TEST-- tidyNode::getParent() --EXTENSIONS-- tidy --FILE--
Content
"); var_dump($x->body()->child[0]->name); var_dump($x->body()->child[0]->getParent()->name); var_dump($x->root()->getParent()); ?> --EXPECT-- string(3) "div" string(4) "body" NULL