Re: [Fwd: [PHP-NOTES] note 43927 added to function.rtrim]

From: Date: Fri, 09 Jul 2004 07:23:03 +0000
Subject: Re: [Fwd: [PHP-NOTES] note 43927 added to function.rtrim]
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361777@lists.php.net to get a copy of this message
> 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"); > ?> Fixed. Jakub Vrana

« previous php.doc (#969361777) next »