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/015.phpt | |
| parent | f03fe1c09d9938475effc5a7d25e4889569e0dca (diff) | |
| download | php-git-43db0fce03f9dd52e382e5414800de456c946ff5.tar.gz | |
more POST+array tests
Diffstat (limited to 'tests/basic/015.phpt')
| -rw-r--r-- | tests/basic/015.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/015.phpt b/tests/basic/015.phpt new file mode 100644 index 0000000000..b297265bbc --- /dev/null +++ b/tests/basic/015.phpt @@ -0,0 +1,15 @@ +--TEST-- +POST Method test and arrays - 3 +--SKIPIF-- +<?php if (php_sapi_name()=='cli') echo 'skip'; ?> +--POST-- +a[]=1&a[0]=5 +--FILE-- +<?php +var_dump($_POST['a']); +?> +--EXPECT-- +array(1) { + [0]=> + string(1) "5" +} |
