xref: /PHP-7.4/ext/filter/tests/012.phpt (revision 782352c5)
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