xref: /PHP-7.3/tests/lang/bug71897.phpt (revision b746e698)
1--TEST--
2Bug #71897 (ASCII 0x7F Delete control character permitted in identifiers)
3--FILE--
4<?php
5
6eval("
7    \$a\x7Fb = 3;
8    var_dump(\$a\x7Fb);
9");
10
11?>
12--EXPECTF--
13Warning: Unexpected character in input:  '%s' (ASCII=127) state=0 in %s(%d) : eval()'d code on line %d
14
15Parse error: syntax error, unexpected 'b' (T_STRING) in %s(%d) : eval()'d code on line %d
16