On Thursday 15 April 2004 12:57 pm, Curt Zirzow wrote:
> ok, then: s/[\r\n\t]//m;
>
> either way, you're blindly removing white space, which *does* matter
> in certain cases.

What case would that be?  The function I posted is completely safe.  I've been 
using it for a long time without any issues.

View my efficient single line of html source code: http://destiney.com/.

All the styles and javascript work fine.  HTML parsers don't give a rats ass 
about newlines, tabs, and carriage returns so why have them..  Makes the 
output easier to compress as well.

-- 
Greg Donald
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to