|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-13 23:49 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 17:00:01 2025 UTC |
Description: ------------ Only "first level keys" was slashed. Reproduce code: --------------- <? echo "<pre>";print_r($_POST);echo "</pre>"; ?> <form method="POST"> <input type=text name="test['aaa']['bbb']" value="'"> <input type=submit> </form> Expected result: ---------------- Array ( [test] => Array ( [\'aaa\'] => Array ( [\'bbb\'] => \' ) ) ) Actual result: -------------- Array ( [test] => Array ( [\'aaa\'] => Array ( ['bbb'] => \' ) ) )