Edit report at http://bugs.php.net/bug.php?id=49945&edit=1
ID: 49945 Updated by: fel...@php.net Reported by: marielyne at acanac dot net Summary: Array in multipart/form-data -Status: Open +Status: Wont fix Type: Bug Package: Scripting Engine problem Operating System: Windows 7 PHP Version: 6SVN-2009-10-21 (snap) New Comment: Old trunk related. Previous Comments: ------------------------------------------------------------------------ [2009-10-21 15:16:38] marielyne at acanac dot net Description: ------------ $_POST gets shrunk to 1 element Reproduce code: --------------- <form method="post" enctype="multipart/form-data"> <input type="text" name="test[]" value="1" /> <input type="text" name="test[]" value="2" /> <input type="text" name="test[]" value="3" /> <input type="submit" /> </form> <?php print_r($_POST); ?> Expected result: ---------------- 5.3.0 and 5.2.11 print Array ( [test] => Array ( [0] => 1 [1] => 2 [2] => 3 ) ) Actual result: -------------- Array ( [test] => Array ( [0] => 3 ) ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=49945&edit=1