mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
20 lines
453 B
PHP
20 lines
453 B
PHP
--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
|
|
|
|
Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in %s on line %d
|
|
|
|
Warning: Undefined variable $ in %s on line %d
|