What's the question? "HEX 00" or \x00 is a 0byte.
There seems to be an inordinate amount of questions posted to the manual. Clearly people aren't reading the mass of information on the add-note page. We could either cut down the information to a couple of lines, or add a "if you are not asking a question, tick this box" approach. "Tom Sommer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone? > > -------- Original Message -------- > Subject: [PHP-NOTES] note 43927 added to function.rtrim > Date: 8 Jul 2004 21:15:07 -0000 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > > 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"); > ?>