|
I haven't messed with this, but I would think that if one pulled the lines into an array using the PHP functions, then one would put the onus of determining what is a line on the language (PHP, in this instance) of choice. The language will then deal with differences in platform and line-end definitions by virtue of the fact that it has to deal with these in its various implementations, anyway.
|