note 31249 added to migration4.strings

From: Date: Tue, 15 Apr 2003 11:54:25 +0000
Subject: note 31249 added to migration4.strings
Groups: php.notes 
Request: Send a blank email to php-notes+get-46636@lists.php.net to get a copy of this message
>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. -- http://www.php.net/manual/en/migration4.strings.php http://master.php.net/manage/user-notes.php?action=edit+31249 http://master.php.net/manage/user-notes.php?action=delete+31249 http://master.php.net/manage/user-notes.php?action=reject+31249

« previous php.notes (#46636) next »