View Single Post
Old Mar 20th, 2007, 3:22 PM   #15
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote