>But you can easily check for this kind of problem by
> checking for the character combination {$ in your code
> and by replacing it with \{$ with your favorite
> search-and-replace tool.
A code which was written below may exist.
if("aaa"){$foo="bar";}
I've done like the following for the `easy checking`. (on Linux - tcsh)
egrep '".*\{\$.+\}.*"' *.php
also using Regexp Search of a Windows Editor (Emacs compatible.)
Search Word : ".*{\$.+}.*"
I'm not so good at treating Regexp. so there may be a lack of
code pattern.