1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 10:03:18 +02:00
Files
archived-php-src/sapi/phpdbg/tests/bug76813.phpt
Nikita Popov fef08723c1 Ensure consistent error message in phpdbg parser
This would be either $end or "end of file" depending on bison
version. Explicitly specify "end of command" instead, which seems
more appropriate in context.
2020-12-02 11:03:58 +01:00

11 lines
409 B
PHP

--TEST--
Bug #76813 (Access_violation_near_NULL_on_source_operand)
--PHPDBG--
"#!==)===\377\377\276\242="
#!==)===\377\377\276\242=
--EXPECT--
prompt> [Parse Error: syntax error, unexpected input, expecting end of command]
prompt> [Parse Error: syntax error, unexpected # (pound sign), expecting end of command]
prompt> [Parse Error: syntax error, unexpected # (pound sign), expecting end of command]
prompt>