#19347 [NEW]: mbstring extension truncates variables

From: Date: Tue, 10 Sep 2002 23:28:19 +0000
Subject: #19347 [NEW]: mbstring extension truncates variables
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18989@lists.php.net to get a copy of this message
From: scottmacvicar@ntlworld.com Operating system: Windows XP Pro PHP version: 4.2.3 PHP Bug Type: mbstring related Bug description: mbstring extension truncates variables Seems to be a problem with the mbstring extension and arrays being used as names of the input fields in forms. If you use the following code <?php echo '<pre>'; print_r($_POST); echo '</pre>'; ?> <form method="post"> <input type="text" name="array[]" size="8" /> <input type="submit" name="submit" value="test" /> </form> It shows the example best, if the mbstring extension is enabled when you type any text into the text field it will remove the first four characters. -- Edit bug report at http://bugs.php.net/?id=19347&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19347&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19347&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19347&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19347&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19347&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19347&r=support Expected behavior: http://bugs.php.net/fix.php?id=19347&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19347&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19347&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19347&r=globals

« previous php.bugs (#18989) next »