note 43927 deleted from function.rtrim by tomsommer
| From: | tomsommer@php.net | Date: | Thu, 08 Jul 2004 21:17:08 +0000 |
| Subject: | note 43927 deleted from function.rtrim by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72897@lists.php.net to get a copy of this message | ||
Note Submitter: kotouc
----
Probably typo.. The above example returns warning of invalid range... Also I am not aware of any HEX
00 character, let me know if you see one;)
<?php
//not working
$clean = rtrim($binary, "\0x00..\0x1F");
//working
$clean = rtrim($binary, "\x01..\x1F");
?>