note 92181 deleted from function.trim by danbrown

From: Date: Mon, 13 Jul 2009 16:16:07 +0000
Subject: note 92181 deleted from function.trim by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158236@lists.php.net to get a copy of this message
Note Submitter: Alex, the Marrch Ca'at ---- To Andrew: Please note that calling trim twice, as you proposed, won't work the same way as calling trim with all default chars added to the second arg array. For ex., for string $test=" ~ test ~ ", trim(trim($test, array('~'))) will return "~ test ~". So it shouldn't be considered as a possible solution.

« previous php.notes (#158236) next »