in reply to Re: foreach on array
in thread foreach on array
I was going to reply something similar when I read the original node. But then I started to wonder whether perhaps the OP was dealing with legacy code and a file that used Windows and Unix line terminators interspersed. For example:
If this file were to be read in under Windows in a while loop, the first line would bedata1\n data2\r\n data3\n ...etc
|
|---|