--TEST--
DOMNode::getLineNo()
--EXTENSIONS--
dom
--FILE--
<?php
$file = __DIR__.'/book.xml';
$doc = new DOMDocument();
$doc->load($file);
$nodes = $doc->getElementsByTagName('title');
foreach($nodes as $node) {
    var_dump($node->getLineNo());
}
?>
--EXPECT--
int(4)
int(8)
