filter pecl.php.net Extension for safely dealing with input parameters The 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 Joye pajoye pierre@php.net yes Derick Rethans derick derick@php.net yes Rasmus Lerdorf rasmus rasmus@php.net yes Ilia Alshanetsky iliaa iliaa@php.net yes 2006-10-31 0.11.0 0.11.0 beta beta PHP * 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.0 1.4.0b1 filter 2006-01-09 0.10.0 0.10.0 beta alpha PHP - 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-23 0.9.4 0.9.4 beta beta - 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