lavkach3
1<!DOCTYPE html>
2<html>
3<head>
4<title></title>
5</head>
6<body>
7
8<pre>
9<?= json_encode($_POST, JSON_PRETTY_PRINT); ?>
10</pre>
11<form method="POST">
12<input type="text" name="group[1][foo]" value="A"/>
13<input type="text" name="group[2][foo]" value="B"/>
14<input type="submit" value="Submit"/>
15</form>
16</body>
17</html>