From: puovils at gmail dot com Operating system: PHP version: 5.1.3 PHP Bug Type: *General Issues Bug description: problems witch $_POST array
Description: ------------ problems witch $_POST array Reproduce code: --------------- <?php echo "<pre>"; print_r($_POST); echo "</pre>"; ?> <html> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <form method="post" action="" enctype="multipart/form-data"> <input type="text" name="masivasid[id_1]" value="Nzzz1"/><br/> <input type="text" name="masivasid[id_2]" value="Nzzz2"/><br/> <input type="submit"/> </form> </body> </html> Expected result: ---------------- Array ( [masivasid] => Array ( [id_1] => Nzzz1 [id_2] => Nzzz2 ) ) Actual result: -------------- Array ( [masivasid] => Array ( [id_1] => Nzzz1 [id_2] => Array ( [id_1] => Nzzz2 ) ) ) -- Edit bug report at http://bugs.php.net/?id=37276&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37276&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37276&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37276&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37276&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37276&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37276&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37276&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37276&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37276&r=support Expected behavior: http://bugs.php.net/fix.php?id=37276&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37276&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37276&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37276&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37276&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37276&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37276&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37276&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37276&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37276&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37276&r=mysqlcfg