filterpecl.php.netExtension for safely dealing with input parametersThe Input Filter extension is meant to address this issue by implementing a set
of filters and mechanisms that users can use to safely access their input data.
Pierre-Alain Joyepajoyepierre@php.netyesDerick Rethansderickderick@php.netyesRasmus Lerdorfrasmusrasmus@php.netyesIlia Alshanetskyiliaailiaa@php.netyes2006-10-310.11.00.11.0betabetaPHP* Attention, this release contains BC breaks, the API has been rewamped *
see the manual and the examples for more details about the new API
- Fixed possible bug in all filtering functions, input value was modified
- Fixed a bug in FILTER_CALLBACK when a non modified value is returned
- Filters operate now on a copy of the data, allow to safely fetch multiple times the same values
- Added three flags: FILTER_REQUIRE_ARRAY, FILTER_FORCE_ARRAY and FILTER_NULL_ON_FAILURE
- Improve support of _SERVER/_ENV (apache1 only)
5.0.01.4.0b1filter2006-01-090.10.00.10.0betaalphaPHP- Fixed PECL bug #6136, ini_set should not be able to change the filter.default (Pierre)
- Fixed PECL bug #6639: uppercase hexadecimal digits are not supported
- Fixed PECL bug #7733, Float exponential weird result (Pierre)
- Fixed PECL bug #7715, Input_get float error (Pierre)
- Fixed PECL bug #8316, empty string with FILTER_VALIDATE_INT returns 0
- Fixed Possible leak in internal sapi_filter (Pierre)
- Fixed an issue with multiple calls using the same input type (Tony)
- Fixed leak in sapi filter (Tony, Ilia)
- Fixed magic_quotes_gpc from being applied when RAW filter is used (Ilia)
- Added support for custom decimal separator (Pierre)
- Added support for php pcre expressions (Pierre)
- Added input_get_args, fetches all input in one call (Pierre)
- Added FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY, allows or not array values (Pierre)
- Basic IPv6 (no option yet, only the syntax is verified) (Pierre)
- INT, Float and boolean filters trim the values before the validations (default trim()) (Pierre)
- input_get and input_get_args returns now FALSE when the validation failed
and NULL when the variable has not been found (Pierre)
- Added JIT support
2006-01-230.9.40.9.4betabeta- Reimplement php_filter_callback() as exception-safe and without memleaks
- Renamed all constants.
- Fixed PECL bug #6124: Crash on HTML tags when using FS_STRING