xref: /PHP-5.4/ext/filter/tests/012.phpt (revision 2c3db736)
1--TEST--
2filter_input()
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--FILE--
6<?php
7
8var_dump(filter_input(INPUT_GET, "test"));
9var_dump(filter_input(INPUT_POST, "test"));
10var_dump(filter_input(INPUT_COOKIE, ""));
11
12echo "Done\n";
13?>
14--EXPECT--
15NULL
16NULL
17NULL
18Done
19