diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-05-03 19:02:12 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-05-03 19:02:12 +0000 |
| commit | 43db0fce03f9dd52e382e5414800de456c946ff5 (patch) | |
| tree | d42b7c94ddbca6fa0f8644a09b0be22035eb130d /tests/basic/020.phpt | |
| parent | f03fe1c09d9938475effc5a7d25e4889569e0dca (diff) | |
| download | php-git-43db0fce03f9dd52e382e5414800de456c946ff5.tar.gz | |
more POST+array tests
Diffstat (limited to 'tests/basic/020.phpt')
| -rw-r--r-- | tests/basic/020.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/basic/020.phpt b/tests/basic/020.phpt new file mode 100644 index 0000000000..0d4704e7f9 --- /dev/null +++ b/tests/basic/020.phpt @@ -0,0 +1,17 @@ +--TEST-- +POST Method test and arrays - 8 +--SKIPIF-- +<?php if (php_sapi_name()=='cli') echo 'skip'; ?> +--POST-- +a[a[]]=1&a[b[]]=3 +--FILE-- +<?php +var_dump($_POST['a']); +?> +--EXPECT-- +array(2) { + ["a["]=> + string(1) "1" + ["b["]=> + string(1) "3" +} |
