php-src/ext/standard/tests/general_functions/import_request2.phpt
Steph Fox fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00

26 lines
381 B
PHP

--TEST--
import_request_variables() test (numeric keys)
--GET--
1=0&2=1&3=2&4=3&5=4
--POST--
1=5&2=6&3=7&4=8&5=9
--COOKIE--
1=10;2=11;3=12;4=13;5=14
--INI--
variables_order=CGP
--FILE--
<?php
import_request_variables("gpc", "_");
var_dump($_1, $_2, $_3, $_4, $_5);
echo "Done\n";
?>
--EXPECT--
unicode(2) "10"
unicode(2) "11"
unicode(2) "12"
unicode(2) "13"
unicode(2) "14"
Done