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