Home
last modified time | relevance | path

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

/PHP-8.0/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)));
18 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass);
22 var_dump(filter_input(INPUT_POST, "c", FILTER_SANITIZE_STRIPPED, array(5,6,7,8)));
23 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_FLOAT));
24 var_dump(filter_input(INPUT_POST, "c", FILTER_SANITIZE_SPECIAL_CHARS));
25 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_INT));
33 filter_input(): Argument #4 ($options) must be of type array|int, stdClass given
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)
11 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-8.0/ext/filter/
H A Dfilter_arginfo.h43 ZEND_FUNCTION(filter_input);
53 ZEND_FE(filter_input, arginfo_filter_input)
H A Dfilter.stub.php7 function filter_input(int $type, string $var_name, int $filter = FILTER_DEFAULT, array|int $options… function
H A Dfilter.c646 PHP_FUNCTION(filter_input) in PHP_FUNCTION() argument
/PHP-8.0/
H A DUPGRADING310 . The INPUT_REQUEST and INPUT_SESSION source for filter_input() etc have been

Completed in 21 milliseconds