1--TEST--
2getLineNo() returns the line number of the node >= 65536
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$html = str_repeat("\n", 65536) . <<<EOF
9<!doctype html>
10<body>
11    <p>hello</p>
12</body>
13EOF;
14
15$dom = Dom\HTMLDocument::createFromString($html);
16var_dump($dom->documentElement->firstChild->nextSibling->firstChild->nextSibling->getLineNo());
17
18?>
19--EXPECT--
20int(65538)
21