Searched refs:filter_input (Results 1 – 13 of 13) sorted by relevance
/PHP-7.3/ext/filter/tests/ |
H A D | 011.phpt | 2 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 D | 012.phpt | 2 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 D | 035.phpt | 11 $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 D | 041.phpt | 14 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 D | 006.phpt | 2 filter_input() test 9 echo filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_STRIPPED);
|
H A D | bug71063.phpt | 2 Bug #71063 (filter_input(INPUT_ENV, ..) does not work) 12 var_dump(filter_input(INPUT_ENV, 'PATH'));
|
H A D | bug50632.phpt | 2 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 D | bug49184.phpt | 2 Bug #67296 (filter_input doesn't validate variables) 13 var_dump(filter_input(INPUT_SERVER, "HTTP_X_FORWARDED_FOR", FILTER_UNSAFE_RAW));
|
H A D | 037.phpt | 12 echo filter_input(INPUT_GET, 'a', FILTER_CALLBACK, array("options"=>'myfunc')); 14 echo filter_input(INPUT_GET, 'b', FILTER_VALIDATE_INT);
|
H A D | bug44779.phpt | 7 var_dump(filter_input(INPUT_SERVER, "PHP_SELF"));
|
H A D | bug52209.phpt | 16 var_dump(filter_input(INPUT_ENV, 'PWD'));
|
/PHP-7.3/ext/filter/ |
H A D | php_filter.h | 47 PHP_FUNCTION(filter_input);
|
H A D | filter.c | 125 PHP_FE(filter_input, arginfo_filter_input) 720 PHP_FUNCTION(filter_input) in PHP_FUNCTION() argument
|
Completed in 39 milliseconds