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

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

?>
--EXPECTF--
Parse error: syntax error, unexpected '%s' (T_BAD_CHARACTER) in %s on line %d