note 31249 deleted from migration4.strings by philip
| From: | philip@php.net | Date: | Fri, 18 Apr 2008 04:58:57 +0000 |
| Subject: | note 31249 deleted from migration4.strings by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138440@lists.php.net to get a copy of this message | ||
Note Submitter: K.Tomono
----
>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.