Unfortunately, this have nothing todo with foreach. :)
I found out, that this bug comes not only with save files. I have open a php-file that is few months old (original loaded from github) and have this error too. I closed it and open again and the error was away. So pspad add this error with open files too. -- <http://forum.pspad.com/read.php?4,66144,66728> PSPad freeware editor http://www.pspad.com
