Home
last modified time | relevance | path

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

/php-src/ext/filter/tests/
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, ""));
12 var_dump(filter_input(INPUT_GET, "test", FILTER_DEFAULT, FILTER_NULL_ON_FAILURE));
13 var_dump(filter_input(INPUT_POST, "test", FILTER_DEFAULT, FILTER_NULL_ON_FAILURE));
14 var_dump(filter_input(INPUT_COOKIE, "", FILTER_DEFAULT, FILTER_NULL_ON_FAILURE));
H A D011.phpt2 filter_input()
14 var_dump(filter_input(INPUT_GET, "b", FILTER_SANITIZE_URL));
15 var_dump(filter_input(INPUT_GET, "a", FILTER_SANITIZE_SPECIAL_CHARS, array(1,2,3,4,5)));
17 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass);
21 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_FLOAT));
22 var_dump(filter_input(INPUT_POST, "c", FILTER_SANITIZE_SPECIAL_CHARS));
23 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_INT));
30 filter_input(): Argument #4 ($options) must be of type array|int, stdClass given
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.phpt15 var_dump(filter_input(INPUT_COOKIE, "abc"));
16 var_dump(filter_input(INPUT_COOKIE, "def"));
17 var_dump(filter_input(INPUT_COOKIE, "xyz"));
19 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_SPECIAL_CHARS);
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.phpt17 var_dump(filter_input(INPUT_ENV, 'PWD'));
/php-src/ext/filter/
H A Dfilter_arginfo.h42 ZEND_FUNCTION(filter_input);
51 ZEND_FE(filter_input, arginfo_filter_input)
H A Dfilter.stub.php299 function filter_input(int $type, string $var_name, int $filter = FILTER_DEFAULT, array|int $options… function
H A Dfilter.c578 PHP_FUNCTION(filter_input) in PHP_FUNCTION() argument

Completed in 20 milliseconds