1--TEST--
2DOMNode::getLineNo()
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7$file = __DIR__.'/book.xml';
8$doc = new DOMDocument();
9$doc->load($file);
10$nodes = $doc->getElementsByTagName('title');
11foreach($nodes as $node) {
12    var_dump($node->getLineNo());
13}
14?>
15--EXPECT--
16int(4)
17int(8)
18