diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-02 12:24:11 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-04 11:28:58 +0200 |
commit | d44cf9b539c5dfbd3ff0295bac25165e79214e09 (patch) | |
tree | 55da1d27a56dc18ad951b3f2e39cfee5324eab54 /tests/lang | |
parent | 11d139625f328873a348cc11df21bdb59bbeaba4 (diff) | |
download | php-git-d44cf9b539c5dfbd3ff0295bac25165e79214e09.tar.gz |
Replace "unexpected character" warning with ParseError
Closes GH-4767.
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/bug71897.phpt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lang/bug71897.phpt b/tests/lang/bug71897.phpt index 5864b1dece..b2c41a359f 100644 --- a/tests/lang/bug71897.phpt +++ b/tests/lang/bug71897.phpt @@ -10,6 +10,4 @@ eval(" ?> --EXPECTF-- -Warning: Unexpected character in input: '%s' (ASCII=127) state=0 in %s(%d) : eval()'d code on line %d - -Parse error: syntax error, unexpected 'b' (T_STRING) in %s(%d) : eval()'d code on line %d +Parse error: syntax error, unexpected '%s' (T_BAD_CHARACTER) in %s on line %d |