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