PHP 4.0 Bug #4815: trim does not trim \v and \0

From: Date: Mon, 05 Jun 2000 01:27:23 +0000
Subject: PHP 4.0 Bug #4815: trim does not trim \v and \0
Groups: php.dev 
Request: Send a blank email to php-dev+get-20222@lists.php.net to get a copy of this message
From: patrick@karlshof.de Operating system: Linux 2.2.14 PHP version: 4.0 Beta 4 Patch Level 1 PHP Bug Type: Misbehaving function Bug description: trim does not trim \v and \0 Example: <?php $test="test"."\v"; echo "Test1: ".$test." (".strlen($test).")<BR>\n"; $test2=trim($test); echo "Test2: ".$test2." (".strlen($test2).")<BR>\n"; ?> Actually chop doesn´t work either (only tested with \0)

« previous php.dev (#20222) next »