1--TEST--
2No warnings should be thrown during heredoc scan-ahead
3--FILE--
4<?php
5
6<<<TEST
7${x}
8\400
9${"\400"}
10${/*}
11TEST;
12
13?>
14--EXPECTF--
15Warning: Unexpected character in input:  '' (ASCII=1) state=0 in %s on line %d
16
17Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d
18
19Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d
20
21Warning: Unterminated comment starting line %d in %s on line %d
22
23Parse error: syntax error, unexpected end of file in %s on line %d
24