Hi,
Daniel Migowski originally reported this in http://bugs.debian.org/488118
Syntax Highlighting in php mode fails slightly within String constants for
variables containing numbers. They are highlighted correctly our of string
constants, but within they are just rendered up to the containing number.
http://www.php.net/language.variables indicates that the regular expression
for variable names is
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
so we need to add a bit more code in order to match 0-9 as part of variable
names (but not the first character)...
The issues seems to be with the var_indqstring variable inside php.jsf
The code to reproduce is trivial:
<?
$var1d = "$var2d";
The characters 2 and d are not recognized as part of the variable name
This is fixed in Mercurial.