xref: /PHP-8.1/tests/basic/016.phpt (revision d7a3edd4)
1--TEST--
2POST Method test and arrays - 4
3--POST--
4a[a]=1&a[b]=3
5--FILE--
6<?php
7var_dump($_POST['a']);
8?>
9--EXPECT--
10array(2) {
11  ["a"]=>
12  string(1) "1"
13  ["b"]=>
14  string(1) "3"
15}
16