php-src/ext/filter/filter.stub.php
2019-11-11 14:54:55 +01:00

32 lines
745 B
PHP

<?php
function filter_has_var(int $type, string $variable_name): bool {}
/**
* @param mixed $options
* @return mixed
*/
function filter_input(int $type, string $variable_name, int $filter = FILTER_DEFAULT, $options = NULL) {}
/**
* @param mixed $variable
* @param mixed $options
* @return mixed
*/
function filter_var($variable, int $filter = FILTER_DEFAULT, $options = NULL) {}
/**
* @param mixed $options
* @return mixed
*/
function filter_input_array(int $type, $options = NULL, bool $add_empty = true) {}
/**
* @param mixed $options
* @return mixed
*/
function filter_var_array(array $data, $options = NULL, bool $add_empty = true) {}
function filter_list(): array {}
function filter_id(string $filtername): int|false {}