Syntax highlight

php.internals

Jakub Vrana

22 years ago
Hello! Some characters (like [, ], {, } and backslash sequences) in double quote strings are highlighted as keywords even on places where they don't have any special meaning (like [] in "foo[] $a"). I mean highlighted by `php -s` and highlight_* functions. These characters are not highlighted in constant strings (i.e. strings without variables). To behave the same in both cases and to not confuse someone by highlighting characters without special meaning, I am sending this patch. Jakub Vrana

Andi Gutmans

22 years ago
Has anyone who's played with the tokenizer lately checked if this patch is OK? Andi At 11:14 AM 12/22/2003 +0100, Jakub Vrana wrote: