summaryrefslogtreecommitdiff
path: root/tests/lang/bug71897.phpt
blob: bd76921af651deeeb0c34e5cb98af00432bc87de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #71897 (ASCII 0x7F Delete control character permitted in identifiers)
--FILE--
<?php

eval("
    \$a\x7Fb = 3;
    var_dump(\$a\x7Fb);
");

?>
--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