* PHP-7.4:
Avoid duplicate octal warning during heredoc scan ahead
--- /dev/null
-${x\ 1}
+ --TEST--
+ No warnings should be thrown during heredoc scan-ahead
+ --FILE--
+ <?php
+
+ <<<TEST
-${/*}
+ \400
+ ${"\400"}
-Warning: Unexpected character in input: '\ 1' (ASCII=1) state=0 in %s on line %d
-
+ TEST;
+
+ ?>
+ --EXPECTF--
-Warning: Unterminated comment starting line %d in %s on line %d
-
-Parse error: syntax error, unexpected end of file in %s on line %d
+ 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