Re: PHP editor

From: Date: Thu, 15 Apr 2004 18:35:20 +0000
Subject: Re: PHP editor
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-183533@lists.php.net to get a copy of this message
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 destiney@destiney.com

« previous php.general (#183533) next »