1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/filter/filter.stub.php
Henrique Duarte a6e1094b6e Add stubs for filter extension
Closes GH-4542.
2019-08-20 11:04:25 +02:00

36 lines
763 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 {}
/**
* @return int|false
*/
function filter_id(string $filtername) {}