xref: /PHP-8.1/ext/filter/tests/012.phpt (revision 74859783)
1--TEST--
2filter_input()
3--EXTENSIONS--
4filter
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