|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-01 22:45 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 08:00:02 2025 UTC |
Description: ------------ the input name: "fields[field[test]]" reaches the script as $_POST["fields"]["field[test"] Reproduce code: --------------- <html><head></head><body> <form action="test.php" method="post"> <input type="text" name="funcs[field[test]]" value="test"> <input type="submit"> </form> <pre><?php var_dump($_POST) ?></pre> </body></html> Expected result: ---------------- array(1) { ["funcs"]=> array(1) { ["field[test]"]=> string(4) "test" } } Actual result: -------------- array(1) { ["funcs"]=> array(1) { ["field[test"]=> string(4) "test" } }