Dan Cech wrote:
While this is indeed faster than using preg, it suffers from a slightly different version of the same bug in the original version. On Mac, a newline is \r, so this will remove all newlines from a mac-formatted string...not what you want. The original version is only marginally better in that it leaves the mac newlines unconverted.

What about my EBCDIC and CDC NOS files?!!
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to