Annotation of embedaddon/php/ext/standard/tests/general_functions/import_request2.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: import_request_variables() test (numeric keys)
                      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("gpc", "_");
                     15: var_dump($_1, $_2, $_3, $_4, $_5);
                     16: 
                     17: echo "Done\n";
                     18: ?>
                     19: --EXPECTF--
                     20: string(2) "10"
                     21: string(2) "11"
                     22: string(2) "12"
                     23: string(2) "13"
                     24: string(2) "14"
                     25: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>