summaryrefslogtreecommitdiff
path: root/Zend/tests/warning_during_heredoc_scan_ahead.phpt
blob: 7def8a4554e6a1d4b28a3db03f9440a17ffa05ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
No warnings should be thrown during heredoc scan-ahead
--FILE--
<?php

<<<TEST
\400
${"\400"}
TEST;

?>
--EXPECTF--
Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d

Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d

Warning: Undefined variable $ in %s on line %d