note 71792 deleted from ref.xml by danbrown
| From: | danbrown@php.net | Date: | Wed, 03 Mar 2010 18:53:21 +0000 |
| Subject: | note 71792 deleted from ref.xml by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166612@lists.php.net to get a copy of this message | ||
Note Submitter: sasha at goldnet dot ca
----
Re: hutch at midwales dot com
That function looks like major overkill.
To remove all white space between tags you could simply do:
preg_replace (">/\s+</" , "><" , $string);