Login  |  Packages  |  Support  |  Bugs

Return

Changelog for filter
Release What has changed?
0.11.0 * 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)
0.10.0 - 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
0.9.4 - 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
0.9.3 - Fixed PECL bug #5960: Build with PHP's PCRE headers
- Fixed PECL bug #5962: Postive float returned when negative float given
- Fixed PECL bug #5963: Segmentation fault when passing anything other than strings

- Added PECL FR #5961: Support other cases of "On", "Off", "True", and "False"
0.9.2 - Implemented support for default filter flags in php.ini with the
filter.default_flags setting.
- Fixed a crash when a non-array option was passed in combination with the
callback filter.
0.9.0 Initial release.

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks