I am wanting to make a php highlight script just for some experiementing. I have found that using highlight_string() will not show variables so if I have:
$variable = bla;
It will only show
= bla;
I want to make it so it does show the variable name. I could use highlight_file(), which will show the variable names, but that gets kind of annoying when you have to make a new file everytime you want to show the code.