Home
last modified time | relevance | path

Searched refs:filter_input (Results 1 – 13 of 13) sorted by relevance

/PHP-7.3/ext/filter/tests/
H A D011.phpt2 filter_input()
14 var_dump(filter_input(INPUT_GET, "a", FILTER_SANITIZE_STRIPPED));
15 var_dump(filter_input(INPUT_GET, "b", FILTER_SANITIZE_URL));
16 var_dump(filter_input(INPUT_GET, "a", FILTER_SANITIZE_SPECIAL_CHARS, array(1,2,3,4,5)));
17 var_dump(filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass));
18 var_dump(filter_input(INPUT_POST, "c", FILTER_SANITIZE_STRIPPED, array(5,6,7,8)));
19 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_FLOAT));
20 var_dump(filter_input(INPUT_POST, "c", FILTER_SANITIZE_SPECIAL_CHARS));
21 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_INT));
25 var_dump(filter_input(INPUT_POST, "c", "", ""));
[all …]
H A D012.phpt2 filter_input()
8 var_dump(filter_input(INPUT_GET, "test"));
9 var_dump(filter_input(INPUT_POST, "test"));
10 var_dump(filter_input(INPUT_COOKIE, ""));
H A D035.phpt11 $ret = filter_input(INPUT_GET, 'a', FILTER_VALIDATE_INT);
14 $ret = filter_input(INPUT_GET, 'a', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
17 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_REQUIRE_ARRAY));
20 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FI…
H A D041.phpt14 var_dump(filter_input(INPUT_COOKIE, "abc"));
15 var_dump(filter_input(INPUT_COOKIE, "def"));
16 var_dump(filter_input(INPUT_COOKIE, "xyz"));
18 var_dump(filter_input(INPUT_COOKIE, "xyz", FILTER_SANITIZE_SPECIAL_CHARS));
H A D006.phpt2 filter_input() test
9 echo filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_STRIPPED);
H A Dbug71063.phpt2 Bug #71063 (filter_input(INPUT_ENV, ..) does not work)
12 var_dump(filter_input(INPUT_ENV, 'PATH'));
H A Dbug50632.phpt2 bug 50632, filter_input() does not return default value if the variable does not exist
7 $foo = filter_input(INPUT_GET, 'foo', FILTER_VALIDATE_INT, array('flags' => FILTER_REQUIRE_SCALAR, …
H A Dbug49184.phpt2 Bug #67296 (filter_input doesn't validate variables)
13 var_dump(filter_input(INPUT_SERVER, "HTTP_X_FORWARDED_FOR", FILTER_UNSAFE_RAW));
H A D037.phpt12 echo filter_input(INPUT_GET, 'a', FILTER_CALLBACK, array("options"=>'myfunc'));
14 echo filter_input(INPUT_GET, 'b', FILTER_VALIDATE_INT);
H A Dbug44779.phpt7 var_dump(filter_input(INPUT_SERVER, "PHP_SELF"));
H A Dbug52209.phpt16 var_dump(filter_input(INPUT_ENV, 'PWD'));
/PHP-7.3/ext/filter/
H A Dphp_filter.h47 PHP_FUNCTION(filter_input);
H A Dfilter.c125 PHP_FE(filter_input, arginfo_filter_input)
720 PHP_FUNCTION(filter_input) in PHP_FUNCTION() argument

Completed in 20 milliseconds