It would be \$ (backslash), but I'm not sure dollar signs have to escaped, either. Worth a try.

It may also be the same possible answer as in your other post - whatever you're using to edit files is adding spaces after the closing PHP tag.