note 22512 added to function.trim
| From: | mikeh at notnowlewis dot co dot uk | Date: | Thu, 20 Jun 2002 15:21:44 +0000 |
| Subject: | note 22512 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32050@lists.php.net to get a copy of this message | ||
The manual seems to have an error here...
the line
$clean = trim($binary,"\0x00..\0x1F");
generates a warning, it should in fact be
$clean = trim($binary,"\x00..\x1F");
which works as intended.
--
http://www.php.net/manual/en/function.trim.php
http://master.php.net/manage/user-notes.php?action=edit+22512
http://master.php.net/manage/user-notes.php?action=delete+22512
http://master.php.net/manage/user-notes.php?action=reject+22512