Annotation of embedaddon/php/ext/standard/tests/general_functions/import_request3.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: import_request_variables() test (numeric keys, different order)
3: --GET--
4: 1=0&2=1&3=2&4=3&5=4
5: --POST--
6: 1=5&2=6&3=7&4=8&5=9
7: --COOKIE--
8: 1=10;2=11;3=12;4=13;5=14
9: --INI--
10: variables_order=CGP
11: --FILE--
12: <?php
13:
14: import_request_variables("gcp", "_");
15: var_dump($_1, $_2, $_3, $_4, $_5);
16:
17: echo "Done\n";
18: ?>
19: --EXPECTF--
20: string(1) "5"
21: string(1) "6"
22: string(1) "7"
23: string(1) "8"
24: string(1) "9"
25: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>