* @param mixed $options
* @return mixed
*/
-function filter_input_array(int $type, $options = null, bool $add_empty = true) {}
+function filter_input_array(int $type, $options = FILTER_DEFAULT, bool $add_empty = true) {}
/**
* @param mixed $options
* @return mixed
*/
-function filter_var_array(array $data, $options = null, bool $add_empty = true) {}
+function filter_var_array(array $data, $options = FILTER_DEFAULT, bool $add_empty = true) {}
function filter_list(): array {}
ZEND_BEGIN_ARG_INFO_EX(arginfo_filter_input_array, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "null")
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "FILTER_DEFAULT")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, add_empty, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_filter_var_array, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, data, IS_ARRAY, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "null")
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "FILTER_DEFAULT")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, add_empty, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()