1--TEST--
2Flexible heredoc lineno: ensure the compiler globals line number is correct
3--FILE--
4<?php
5
6$heredoc = <<<EOT
7hello world
8EOT;
9
10$heredoc = <<<'EOT'
11hello world
12EOT;
13
14$heredoc = <<<EOT
15 hello world
16 EOT;
17
18$heredoc = <<<'EOT'
19 hello world
20 EOT;
21
22try {
23	throw new exception();
24} catch (Exception $e) {
25	var_dump($e->getLine());
26}
27
28?>
29--EXPECT--
30int(20)
31