#20024 [Opn->Csd]: cut first 4 letters in variables

From: Date: Tue, 22 Oct 2002 10:46:58 +0000
Subject: #20024 [Opn->Csd]: cut first 4 letters in variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23024@lists.php.net to get a copy of this message
ID: 20024 Updated by: derick@php.net Reported By: netim@icentrum.pl -Status: Open +Status: Closed Bug Type: Arrays related Operating System: windows + linux PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-10-22 05:46:16] netim@icentrum.pl --- file a.php <form action="a.php" method="POST" name="form"> <input type="text" name="aaaa[]" value="1234567890"> <input type="submit"> </form> <pre> <? var_dump($_POST); ?> </pre> -- end file a.php While we send this form we will see : array(1) { ["aaaa"]=> array(1) { [0]=> string(6) "567890" } } Variable $_POST["aaaa"][0] is "567890" and why not "1234567890" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20024&edit=1

« previous php.bugs (#23024) next »