Searched refs:filter_input (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/filter/tests/ |
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, "")); 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 D | 011.phpt | 2 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 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 | 15 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 D | 006.phpt | 2 filter_input() test 9 echo filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_SPECIAL_CHARS);
|
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) 11 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 | 17 var_dump(filter_input(INPUT_ENV, 'PWD'));
|
/php-src/ext/filter/ |
H A D | filter_arginfo.h | 42 ZEND_FUNCTION(filter_input); 51 ZEND_FE(filter_input, arginfo_filter_input)
|
H A D | filter.stub.php | 299 function filter_input(int $type, string $var_name, int $filter = FILTER_DEFAULT, array|int $options… function
|
H A D | filter.c | 578 PHP_FUNCTION(filter_input) in PHP_FUNCTION() argument
|
Completed in 15 milliseconds