Re: note 43927 added to function.rtrim]
| From: | Aidan Lister | Date: | Fri, 09 Jul 2004 05:01:34 +0000 |
| Subject: | Re: note 43927 added to function.rtrim] | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361774@lists.php.net to get a copy of this message | ||
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" <tomsommer@php.net> wrote in message
news:40EDBB09.5090503@php.net...
> Anyone?
>
> -------- Original Message --------
> Subject: [PHP-NOTES] note 43927 added to function.rtrim
> Date: 8 Jul 2004 21:15:07 -0000
> From: kotouc@rn2.php.net
> To: php-notes@lists.php.net
>
> 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");
> ?>